[FIX] website_sale_product_configurator: fix continue shop
When selecting the "Continue shopping" option after adding a configurable product from the products page with "Add to Cart" enabled the top navbar was not updated. Part of https://github.com/odoo/odoo/pull/37132 task-2070507 closes odoo/odoo#38732 X-original-commit: 433be848d4e2545a9962a54d2dba615b329f73de Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
@@ -81,7 +81,7 @@ publicWidget.registry.WebsiteSale.include({
|
||||
window.location.pathname = path;
|
||||
}
|
||||
var $quantity = $(".my_cart_quantity");
|
||||
$quantity.parent().parent().removeClass("d-none", !quantity);
|
||||
$quantity.parent().parent().removeClass('d-none');
|
||||
$quantity.html(quantity).hide().fadeIn(600);
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user