Wrong TOTAL amount in cart
-
Hi,
when I add into cart same variation product with different measurement data I will always get wrong total amount on previously added products. See an example.But in array there will always be correct data. Why were data from array read incorrectly?
Array for example from the picture
Array ( [0] => Array ( [pricing_item_meta_data] => Array ( [_price] => 161.28 [_measurement_needed] => 5.76 [_measurement_needed_unit] => sq m [_quantity] => 1 [length] => 200 [width] => 200 [height] => 20 ) [product_id] => 89 [variation_id] => 133 [variation] => Array ( [attribute_pa_barva] => bela ) [quantity] => 1 [line_total] => 161.28 [line_tax] => 0 [line_subtotal] => 161.28 [line_subtotal_tax] => 0 [line_tax_data] => Array ( [total] => Array ( ) [subtotal] => Array ( ) ) ) [1] => Array ( [pricing_item_meta_data] => Array ( [_price] => 177.9288 [_measurement_needed] => 6.3546 [_measurement_needed_unit] => sq m [_quantity] => 1 [length] => 215 [width] => 186 [height] => 26 ) [product_id] => 89 [variation_id] => 133 [variation] => Array ( [attribute_pa_barva] => bela ) [quantity] => 1 [line_total] => 177.9288 [line_tax] => 0 [line_subtotal] => 177.9288 [line_subtotal_tax] => 0 [line_tax_data] => Array ( [total] => Array ( ) [subtotal] => Array ( ) ) ) )
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Wrong TOTAL amount in cart’ is closed to new replies.