I am using Debut and have 2 issues.
1) Currency converter Apps:
I am using external apps because my country does not support Shopify payments. I tried 4 different apps, all have the same issue.
When you remove a product from the cart (or change time count to higher/lower) the subtotal shows unnecessary and confusing code snippet, see here:
Before an item is removed:
After an item is removed:
One app had a fix for it, I had to change something in code, but once done, the Subtotal was no longer working at all. Yes, the code snippet was gone but subtotal was no longer changing when adding/removing items.
All 4 apps exactly the same issue, not sure what to do.
2) Debut theme issue with sale prices:
If I add "Compare at" prices for a product where different variants have different costs, and I switch variant on the product view page, the sale price updates but the original price stays the same until I manually refresh the page.
after changing to 15 inch one (sale price updated original price stays same - is wrong):
After page refresh the correct original price is there:
Not using any app for this, directly the "compare at" option from Shopify/Debut...
Any help is very much appreciated.
not completely, but did this instead. Using paid app BEST Currency Converter, had the same issue but contacted them and they fixed it for me with some additional code.
The subtotal does still show but for less than a second so it is ok.
I asked if that can be even shorter and got its reply from Best currency converter:
If you still need help feel free to reach out.
Additionally, since you're using Debut theme, I have a few custom code snippets specifically for the Debut theme that can be useful for you, like:
- Product Image Slider (with swipe & arrows feature)
- Sticky navigation/announcement bar for Debut
Hey @AdrianaS ,
Just in case you haven't found the answer yet.
Forgot how/where I found this solution but I have saved it on my sticky note.
1. Open your theme code editor.
2. Open theme.js file and look for "cartSubtotal".
3. Change 'innerText' / 'textContent' with 'innerHTML'.
(*) You might have 'textContent' or any other phrase as in the screenshot below.
It does not matter. Switch it to innerHTML in any case.
Now, view your cart page and update the cart.
The issue should be resolved.
thank you but it does not work. I found this exact solution while using the first free app in their FAQs, implemented it but then the subtotal does NOT change at all unless you manually refresh the page, which is even worse.
The second free app I tried, after asking for help they did this same code change for me and the same result.
Both issues were the same across the 4 free apps I tried. So either code snippet is shown or if trying to fix the code no subtotal updates at all.
Whatever the paid app did helped and still works fine