fix price
This commit is contained in:
parent
06ddf9a807
commit
fc1e208b08
@ -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…
Reference in New Issue
Block a user