fix price
This commit is contained in:
parent
06ddf9a807
commit
fc1e208b08
1 changed files with 2 additions and 2 deletions
|
@ -242,7 +242,7 @@ class Exchange
|
|||
//add items in quote
|
||||
foreach ($ditems as $id =>$item) {
|
||||
$product = $productRepository->getById($id,false, $store->getId(), false);
|
||||
$product->setPrice($item['initialPrice']);
|
||||
$product->setPrice($item['price_item']);
|
||||
$quote->addProduct(
|
||||
$product,
|
||||
(int)$item['quantity']
|
||||
|
@ -411,7 +411,7 @@ class Exchange
|
|||
//add items in quote
|
||||
foreach ($ditems as $id => $item) {
|
||||
$product = $productRepository->getById($id,false, $store->getId(), false);
|
||||
$product->setPrice($item['initialPrice']);
|
||||
$product->setPrice($item['price_item']);
|
||||
$quote->addProduct(
|
||||
$product,
|
||||
(int)$item['quantity']
|
||||
|
|
Loading…
Add table
Reference in a new issue