Skip to content

Commit 73b4230

Browse files
authored
gspc-update-wc-price-when-form-total-changes.js: Updated price selector.
1 parent 025dc6f commit 73b4230

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gs-product-configurator/gspc-update-wc-price-when-form-total-changes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ jQuery('.ginput_total_GFFORMID').on('change', function() {
1212
// Find any character outside of 0-9, period, or comma and wrap it with span.woocommerce-Price-currencySymbol
1313
formatted = formatted.replace(/[^0-9\.,]/g, '<span class="woocommerce-Price-currencySymbol">$&</span>');
1414

15-
jQuery('p.price .woocommerce-Price-amount bdi').html(formatted);
15+
jQuery('.woocommerce-Price-amount bdi').html(formatted);
1616
});

0 commit comments

Comments
 (0)