Merge pull request #1555 from sumitwebkul/gli-2807

Fixed: Wrong price in cart drop down in header if Product selling preference is changed after adding the product into the cart in front office
This commit is contained in:
Rohit Jain
2025-07-03 19:59:54 +05:30
committed by GitHub

View File

@@ -50,6 +50,9 @@ class Blockcart extends Module
{
global $errors;
// validate cart bookings before displaying cart
HotelCartBookingData::validateCartBookings();
// Set currency
if ((int) $params['cart']->id_currency && (int) $params['cart']->id_currency != $this->context->currency->id) {
$currency = new Currency((int) $params['cart']->id_currency);