Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixing variants price Add into ShoppingCart

Signed-off-by: Gergely <t-gely@freemail.hu>
  • Loading branch information...
commit a6c82b6079baee29b612732019c6ad9683d7453f 1 parent 7b3ce84
Tóth Gergely authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  osCommerce/OM/Core/Site/Shop/ShoppingCart.php
2  osCommerce/OM/Core/Site/Shop/ShoppingCart.php
@@ -343,7 +343,7 @@ public function add($product_id, $quantity = null) {
343 343 'model' => $OSCOM_Product->getModel(),
344 344 'keyword' => $OSCOM_Product->getKeyword(),
345 345 'image' => $OSCOM_Product->getImage(),
346   - 'price' => $OSCOM_Product->getPrice(true),
  346 + 'price' => $OSCOM_Product->getPrice(true, $product_id),
347 347 'quantity' => $quantity,
348 348 'weight' => $OSCOM_Product->getData('weight'),
349 349 '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.