Product Variants Not Working

New Member
2 0 0

Hi guys!

 

So I'm using the booster theme, was wondering if you could help me fix this issue. I have a decent amount of variants for my product with all different prices. When a different variant is selected, the price does not change however, it just stays on the normal price.

 

Is there a fix for this? if you would like to see my site, the password is baychu

 

https://turnedanime.co/products/turn-me-anime

0 Likes
Shopify Partner
1648 277 344

Hi @hey 

Your store variants callback function cant calling on change , you have to check in Asset->theme.js ->find "_onSelectChange: function() {" and track whats an issue.

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
0 Likes
New Member
2 0 0

this is what it looks like

 

/**
* Event handler for when a variant input changes.
*/
_onSelectChange: function() {
var variant = this._getVariantFromOptions();

this.$container.trigger({
type: 'variantChange',
variant: variant
});

if (!variant) {
return;
}

this._updateMasterSelect(variant);
this._updateImages(variant);
this._updatePrice(variant);
this._updateSKU(variant);
this.currentVariant = variant;

if (this.enableHistoryState) {
this._updateHistoryState(variant);
}
},

0 Likes