I noticed in the video you skip over the logic when you change the ApplyCouponCode button text to remove - to completely changing the logic to adding hide/show functionality with 2 buttons, i also noticed people in the comments got errors because of this. Maybe it is a good idea to fix this part of the video, best regards :)
Awesome video! This really helped me with my project. Are you going to release a part 5? I was expecting the loader and I thought you were going to mention that in this part.
Awesome video, thanks! I've tried skipping ahead a few steps to somehow link the mini cart to the new cart page but so far absolutely no dice. Is that something you will cover in a later video?
Thanks! That isn't something I cover in the tutorial but the general idea is that you will either need to redirect the old cart page to the new one or set up your custom cart on the native cart page itself (collapsing the native cart widget).
I'm assuming the cart icon and minicart seems to function at frontend only? They do not update with the quantity toggle item.onchange, since we did this with ecom-backend?
Not so much that they are only frontend as that they are not integrated with the event listeners we set up. You may have access to these events through the API events but it would be a hassle to change frontend behavior based on them.
@@thewixwiz I've used common principals from what you've shown to fully deploy my custom cart in a lightbox. The only issue now is that I'm having a hard time with the checkout process, whereby I'm trying to pass the variable parseFloat(priceSummary.total.amount) to Stripe's price_data API to create prices on the fly. Unfortunately everywhere I read it refers back to Stripe's "app.post" method which to my understanding it doesnt work in wix's env?
@@bayestraat If I understand correctly you are referring to the Stripe demos which use an express server. Since Wix backend acts as a server in itself there is no need for endpoints. Just build the API calls into Web Methods and call them from the frontend.
Ah i see the issue now. By the way, regarding the cart icon not updating unless the page is refreshed, is it possible to set up a custom icon by adding a header snippet in the custom code settings from the site dashboard?
I opted to not use the country dropdown, but I would like to use the coupon code box. However, when following the code, the website appears identical, but none of the coupons seem to prompt a change on the custom cart page. If I add the discount on the stock cart page, and then reload the custom cart it displays perfectly. This makes me think there is a disconnect between the promotional code text field and the apply button. Any tips? (WIX Studio)
Hi, it sounds like you didn't run the render function which reloads the cart after applying the coupon. It would be hard to know though without looking at the code.
@@thewixwiz I have the same problem, has a solution already been found? Could it be related to the discount group? Did you use a regular text field there, or what exactly does the group consist of
okay thats not still working.... every time when i try to enter the code in the custom card i get this message: createConsoleProxy.ts:47 Error: Unable to handle the request. Contact the site administrator or view site monitoring logs for more information. (anonym) @ createConsoleProxy.ts:47 eval @ active$wBiEvent.js:56 v @ app.js:139 external commonjs "wix-location-frontend":1 Uncaught (in promise) Error: Unable to handle the request. Contact the site administrator or view site monitoring logs for more information. I dont know how to handle this...
@@DeitrichGerlt Do you now have a solution to the problem? I keep getting an error after the confirmation button, the console then says that the coupon does not exist, but as you described, it works in the wix store itself.
I noticed in the video you skip over the logic when you change the ApplyCouponCode button text to remove - to completely changing the logic to adding hide/show functionality with 2 buttons, i also noticed people in the comments got errors because of this. Maybe it is a good idea to fix this part of the video, best regards :)
Awesome video! This really helped me with my project.
Are you going to release a part 5? I was expecting the loader and I thought you were going to mention that in this part.
Thanks! Yes part 5 will be coming out on Monday. It will cover checkout and loader.
Awesome video, thanks! I've tried skipping ahead a few steps to somehow link the mini cart to the new cart page but so far absolutely no dice. Is that something you will cover in a later video?
Thanks! That isn't something I cover in the tutorial but the general idea is that you will either need to redirect the old cart page to the new one or set up your custom cart on the native cart page itself (collapsing the native cart widget).
I'm assuming the cart icon and minicart seems to function at frontend only? They do not update with the quantity toggle item.onchange, since we did this with ecom-backend?
Not so much that they are only frontend as that they are not integrated with the event listeners we set up. You may have access to these events through the API events but it would be a hassle to change frontend behavior based on them.
@@thewixwiz I've used common principals from what you've shown to fully deploy my custom cart in a lightbox. The only issue now is that I'm having a hard time with the checkout process, whereby I'm trying to pass the variable parseFloat(priceSummary.total.amount) to Stripe's price_data API to create prices on the fly. Unfortunately everywhere I read it refers back to Stripe's "app.post" method which to my understanding it doesnt work in wix's env?
@@bayestraat If I understand correctly you are referring to the Stripe demos which use an express server. Since Wix backend acts as a server in itself there is no need for endpoints. Just build the API calls into Web Methods and call them from the frontend.
Ah i see the issue now. By the way, regarding the cart icon not updating unless the page is refreshed, is it possible to set up a custom icon by adding a header snippet in the custom code settings from the site dashboard?
How do you set up the tax and delivery fee by chance? I got confused on how you set it up
The fees themselves are set up through the dashboard.
I opted to not use the country dropdown, but I would like to use the coupon code box. However, when following the code, the website appears identical, but none of the coupons seem to prompt a change on the custom cart page. If I add the discount on the stock cart page, and then reload the custom cart it displays perfectly. This makes me think there is a disconnect between the promotional code text field and the apply button. Any tips? (WIX Studio)
Hi, it sounds like you didn't run the render function which reloads the cart after applying the coupon. It would be hard to know though without looking at the code.
@@thewixwiz Is there a way to share the code with you?
@@thewixwiz I have the same problem, has a solution already been found? Could it be related to the discount group? Did you use a regular text field there, or what exactly does the group consist of
okay thats not still working.... every time when i try to enter the code in the custom card i get this message:
createConsoleProxy.ts:47 Error: Unable to handle the request. Contact the site administrator or view site monitoring logs for more information.
(anonym) @ createConsoleProxy.ts:47
eval @ active$wBiEvent.js:56
v @ app.js:139
external commonjs "wix-location-frontend":1 Uncaught (in promise) Error: Unable to handle the request. Contact the site administrator or view site monitoring logs for more information.
I dont know how to handle this...
@@DeitrichGerlt Do you now have a solution to the problem?
I keep getting an error after the confirmation button, the console then says that the coupon does not exist, but as you described, it works in the wix store itself.