Shopify themes, liquid, logos, and UX
Hello 👋 I've got a problem with a variant picker in my store. When I try to select one variant, for ex. Kronos (the first color variant) and A, B, or C size (price is different for every size), the price won't update, but it works fine with other colors, for ex. Monolith + B size.
If we reload the page with the color Monolith selected, then size variants won't work with Monolith (price won't change).
Any ideas on how to fix it? 😞
Dawn theme
In the console I see an error:
Video with demonstration: https://www.dropbox.com/scl/fi/d1csf41kipi8291e2svv4/unknown_2024.03.15-11.49.mp4?rlkey=y0eben2n3dcy...
Store website: www.bildabaldai.lt (I recommend to check the error here https://bildabaldai.lt/products/minksta-lova-dove/ )
Solved! Go to the solution
This is an accepted solution.
I don't know of anyone else who has this problem in the dawn theme. Unless you changed the code, this shouldn't be a code issue because everyone using Dawn would have this problem.
Can you update the Theme?
This is an accepted solution.
But it's working now for me
Hey @NorbertasStre,
Somehow it's only the "Kronos" Variant that's having this problem. When you select others, "Monolith", etc.. It seems to work fine. Can you check if there's anything you misconfigured in the Kronos Variant?
Hi!
It seems that everything is okay with the variant settings..
Seems weird. Can you delete that variant and add again from scratch?
I can only ask you to try these things because I don't have access to your store
I've tried doing it before, but I've done it rn, and nothing has changed..
The problem is that if You enter the product page for the first time, it will not let you add to the cart (also, the price will not change) the first variant. If you select another variant and reload the page, then it won't be available for purchase etc., so I think that there is a problem with the code 😞
This is an accepted solution.
I don't know of anyone else who has this problem in the dawn theme. Unless you changed the code, this shouldn't be a code issue because everyone using Dawn would have this problem.
Can you update the Theme?
I have tried to do it, but nothing has changed 😞
This is an accepted solution.
But it's working now for me
I've forgot to delete the cookies after update. Thank you! I feel so bad rn.. 😂
Hi. Find
"
playActiveMedia(activeItem)
"
and paste here full version:
"
playActiveMedia(activeItem) {
window.pauseAllMedia();
const deferredMedia = activeItem.querySelector('.deferred-media');
if (deferredMedia) deferredMedia.loadContent(false);
}
"
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024