[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:
qsm-odoo
2019-10-14 15:06:21 +00:00
committed by fw-bot
parent a6507f0fa9
commit aae20424fe
@@ -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);
});
},