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
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.
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);
}
},
User | Count |
---|---|
429 | |
200 | |
145 | |
57 | |
43 |