Skip to content

Commit

Permalink
Update ProductCollection.php (#2467)
Browse files Browse the repository at this point in the history
Update 'name' if site language is switched after product is already in cart.
  • Loading branch information
9teufel authored Jul 19, 2023
1 parent 1d631cc commit 90ed5b7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public function updateDatabase($blnCreate = true)

$objItem->price = $objItem->getPrice();
$objItem->tax_free_price = $objItem->getTaxFreePrice();
$objItem->name = $objItem->getName();
$objItem->save();
}

Expand Down

0 comments on commit 90ed5b7

Please sign in to comment.