From 35d69399ae2d958576fb6e153244791659b39559 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 26 Jul 2020 21:15:05 +0200 Subject: [PATCH] Fully supports editing product and its variations. Edit page now handles customizing most properties of a product. This uses new color and size picker. --- frontend/components/editProduct.vue | 172 +++++++++++++++++++++++++--- 1 file changed, 156 insertions(+), 16 deletions(-) diff --git a/frontend/components/editProduct.vue b/frontend/components/editProduct.vue index 15e7e1b..4e32b0c 100644 --- a/frontend/components/editProduct.vue +++ b/frontend/components/editProduct.vue @@ -7,42 +7,117 @@

Edit mode

Product

- - - - - +
+
+ Name: + +
+
+ Color: + +
+
+ +
+
+ Description: + +
+
+ Image: + +
+
+ Slug (default empty): + +
+
-
+

Variations

- -
+ +
+
+ + + + + + + +
+
+
+
+ Stock: + +
+ +
+ Price (NOK): + +
+
+ +
+
+ Discounted price (empty if none): + +
+
+ +
+
+ Available sizes: + +
+
+ +
+
+
+ + +
- + - +
- +