Why does my product price not update with different variations?

Hi! I have an issue when going through different variations of my product. When i select the most expensive product followed by a cheaper product, It just shows me the price of the more expensive product. I dont think its an issue with the site speed because i waited and the price still does not change. Could someone please guide me on what causes this issue please! Thank you!

My site is lumiplushie.com and the product is the teddy bear if anyone could help me take a look please!

I checked the source and found an error when you choose the transformer with the expensive product.

https://i.imgur.com/vaFuKPp.png I don’t know what the variable precentprice means, but it’s giving store an error and you need to clear it.

It shows in file Assets > theme.js , you can find ‘precentprice’ and send me the code, I will help you to remove it.

Hello! Thanks for the reply! Not sure which code revolves around that so
ill just send a whole chunk! Thanks for the help.
Regards,
Darrel

// Update and show the product’s compare price if necessary
if (variant.compare_at_price > variant.price) {
$(this.selectors.comparePrice)
.html(
theme.Currency.formatMoney(
variant.compare_at_price,
theme.moneyFormat
)
)
.removeClass(‘hide’);

$(this.selectors.originalPriceWrapper).addClass(
this.selectors.saleClasses
);

$(this.selectors.saleLabel).removeClass(‘hide’);

$(this.selectors.productPrices).find(‘.save_discount_pro’).removeClass(‘hide’);
if (precentprice) {
var priceSaving = ((variant.compare_at_price -
variant.price)/variant.compare_at_price*100).toFixed()+x;

$(this.selectors.productPrices).find(‘.save_discount_pro’).html(’
class=“per_discount”>’ + priceSaving + ‘’);
} else {
var price_comapre = variant.compare_at_price - variant.price;
var priceSaving = sv + " " +
theme.Currency.formatMoney(price_comapre, theme.moneyFormat);

$(this.selectors.productPrices).find(‘.save_discount_pro’).html(’
class=“sale-tag salePrice large”>’ + priceSaving + ‘’);
}
} else {

$(this.selectors.comparePrice).addClass(‘hide’);
$(this.selectors.saleLabel).addClass(‘hide’);

$(this.selectors.productPrices).find(‘.save_discount_pro’).addClass(‘hide’);
$(this.selectors.originalPriceWrapper).removeClass(
this.selectors.saleClasses
);
}
if (currency_dropdown) {
convertCurrencies();
}
},

_updateSKU: function(evt) {
var variant = evt.variant;

// Update the sku
$(this.selectors.SKU).html(variant.sku);
},

onUnload: function() {
this.$container.off(this.settings.namespace);
}
});

function _enableZoom(el) {
var zoomUrl = $(el).data(‘zoom’);
$(el).zoom({
url: zoomUrl
});
}