function update

This commit is contained in:
magepeopleteam 2021-01-05 11:07:54 +00:00
parent 3f2f913b12
commit 4189fbe341
1 changed files with 1 additions and 1 deletions

View File

@ -3032,7 +3032,7 @@ function mep_single_page_js_script($event_id){
jQuery('.price_jq').each(function() { jQuery('.price_jq').each(function() {
var price = jQuery(this); var price = jQuery(this);
var count = price.closest('tr').find('.extra-qty-box'); var count = price.closest('tr').find('.extra-qty-box');
sum = (price.html() * count.val()); sum = (parseFloat(price.html().match(/-?(?:\d+(?:\.\d*)?|\.\d+)/)) * count.val());
total = total + sum; total = total + sum;
// price.closest('tr').find('.cart_total_price').html(sum + "â‚´"); // price.closest('tr').find('.cart_total_price').html(sum + "â‚´");