diff --git a/gs-product-configurator/gspc-update-wc-price-when-form-total-changes.js b/gs-product-configurator/gspc-update-wc-price-when-form-total-changes.js index cbb34656d..5676fd330 100644 --- a/gs-product-configurator/gspc-update-wc-price-when-form-total-changes.js +++ b/gs-product-configurator/gspc-update-wc-price-when-form-total-changes.js @@ -12,5 +12,5 @@ jQuery('.ginput_total_GFFORMID').on('change', function() { // Find any character outside of 0-9, period, or comma and wrap it with span.woocommerce-Price-currencySymbol formatted = formatted.replace(/[^0-9\.,]/g, '$&'); - jQuery('p.price .woocommerce-Price-amount bdi').html(formatted); + jQuery('.woocommerce-Price-amount bdi').html(formatted); });