Skip to content
Browse files

Fixing variants price Add into ShoppingCart

Signed-off-by: Gergely <t-gely@freemail.hu>
  • Loading branch information...
1 parent 7b3ce84 commit a6c82b6079baee29b612732019c6ad9683d7453f @tgely committed Aug 3, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 osCommerce/OM/Core/Site/Shop/ShoppingCart.php
View
2 osCommerce/OM/Core/Site/Shop/ShoppingCart.php
@@ -343,7 +343,7 @@ public function add($product_id, $quantity = null) {
'model' => $OSCOM_Product->getModel(),
'keyword' => $OSCOM_Product->getKeyword(),
'image' => $OSCOM_Product->getImage(),
- 'price' => $OSCOM_Product->getPrice(true),
+ 'price' => $OSCOM_Product->getPrice(true, $product_id),
'quantity' => $quantity,
'weight' => $OSCOM_Product->getData('weight'),
'tax_class_id' => $OSCOM_Product->getData('tax_class_id'),

0 comments on commit a6c82b6

Please sign in to comment.
Something went wrong with that request. Please try again.