diff --git a/src/routes/cart/DeliveryModePicker.svelte b/src/routes/cart/DeliveryModePicker.svelte index 486f1c6e..bbea0e0f 100644 --- a/src/routes/cart/DeliveryModePicker.svelte +++ b/src/routes/cart/DeliveryModePicker.svelte @@ -74,6 +74,7 @@ storeCartItems = newCartItems; } else { $cartItems = newCartItems; + localStorage.setItem("user_cart", JSON.stringify($cartItems)); } } }; diff --git a/src/routes/products/CreateProduct.svelte b/src/routes/products/CreateProduct.svelte index 79b2856b..dbf6359a 100644 --- a/src/routes/products/CreateProduct.svelte +++ b/src/routes/products/CreateProduct.svelte @@ -2,7 +2,6 @@ import { onMount, getContext } from "svelte"; import Icon from "svelte-awesome"; import { faChevronLeft } from "@fortawesome/free-solid-svg-icons"; - import TransitionWrapper from "./../../components/TransitionWrapper.svelte"; import GetGraphQLInstance from "./../../services/SheaftGraphQL.js"; import GetRouterInstance from "./../../services/SheaftRouter.js"; diff --git a/src/routes/products/EditProduct.svelte b/src/routes/products/EditProduct.svelte index cc15b2be..7d304e29 100644 --- a/src/routes/products/EditProduct.svelte +++ b/src/routes/products/EditProduct.svelte @@ -161,11 +161,6 @@
-
-
- +
+
-
+
Pays *
-
+ {#if !isStore} +
+ +
+ {/if} +