All of these variants have price and compare at price. But only 3) variant is showing compare at price and badge (sale).
When I inspect, then 1) and 2) variants has no compare at price. Prices shows same as casual Price.
But for 3) variant everything is ok.
I tried to turning off Markets > Preferences > … Nothing works.
Also, compare at price is showing like everything is ok, when I press Edit on online store and go to product page.
So the problem is with shopify, it doesn’t load compare at price for 2 variants for clients. Is there any solution?
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution
and if the code is work then you have to correct your price and compare price and then your problem is solved
but why everything is working for 1 of 3 variants and 2 of 3 variants doesn’t load compare at price and shows price like there is no compare at price? Not sure if youe code is ok and you understood problem. If 1 variant is working, why other 2 isnt?
i think there is some JS problem that’s why some variants show compare price and some variants not showing there compare price try this code hope fully that your problem is solved with my code
I just fixed the problem.
Export product to which you want to add compare at price.
Open .csv in excel on Google Sheets (upload).
There will be column for each market compare at price.
Fill the prices.
Save. Import into Shopify.
DONE!