I have a little problem with the Buy X get Y automatic discount and I’m not sure if I’m making some sort of mistake or if the discount is bugging.
I want to get the discount as: buy 3 products but pay for 2. So for example if my customer buys 3 contact lens solutions for 11€/piece they should be paying 22€ in total.
Right now when I try it and add 3 items to my cart it shows 2 as normal full price and 1 at -100% price but still charges for it? And I tried to go to the payment page but it still doesn’t update the price to a correct one.
As the issue is just on the cart page, this is most likely a theme related issue. What theme are you using? As well, have you done any custom coding on the cart page? Cheers!
Oh weird now it shows the correct price for me too when I got to the checout page. I’m using the Simple theme and no, I have not added any custom coding to the cart page. When I upload the page the correct price “flashes” in the screen but is quickly changed to the incorrect price.
I think I found the culprit which causes the problem. I recently installed the Infinite Product Options app by HulkApps and did a bit of research. On their sites FAQ they say that the Ajax cart might cause the problem and as an answer tell the user to disable the Ajax cart but I don’t find an option for that anywhere. Any ideas on how to solve this? Also I checked the cart.liquid code and installing the app changed that in some way.
The problem is not with creating the discount, it is with the cart not updating correctly. I changed the theme (which I was planning to do anyway and got the customization done today) and now it works a bit better I guess. If I add the 3 items straight away to the cart it shows the discount right but the total price wrong. However if I add 2 items into the cart, go to the cart and manually add one more item it shows the discount and price right? Not sure where the problem is now…
An app’s coding would translate to all of your themes, so I’m afraid changing the theme wouldn’t solve the issue if it’s being caused by an app. Would you be able to remove the app to test to see if this is the case, or are you currently using that app for your products?
Yes, I’m currently using the app for multiple listings. I’ll contact the app developers if they have a solution to this before trying to delete the app to save a lot of hassle if they are able to help me.