Skip to content

Commit

Permalink
Add info about delivery address
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Aug 1, 2024
1 parent 11ae6d7 commit 79e5e99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Adapter/Cart/QueryHandler/GetCartForViewingHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ public function handle(GetCartForViewing $query)
);
$context->cart->setProductCustomizedDatas($product, $customized_datas);

$product['id_address_delivery'] = (int) $cart->id_address_delivery;

if ($customized_datas) {
Product::addProductCustomizationPrice($product, $customized_datas);
}
Expand Down

0 comments on commit 79e5e99

Please sign in to comment.