Skip to content
Snippets Groups Projects
Commit 433be848 authored by qsm-odoo's avatar qsm-odoo
Browse files

[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#38538

X-original-commit: https://github.com/odoo/odoo/commit/9e58f0659e21d0f7e63b127d7a84b505e6aa1fb5


Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent fb005684
No related branches found
No related tags found
No related merge requests found
......@@ -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);
});
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment