Skip to content
Snippets Groups Projects
  • Soukéina Bojabza's avatar
    ecefa679
    [FIX] website_sale: fix cart popover on hover for all header templates · ecefa679
    Soukéina Bojabza authored
    
    Before this commit, when hovering the shopping cart in the "Boxed" and
    "Centered Logo" header templates, the cart popover was not appearing.
    
    This happened because the `websiteSaleCartLink` public widget was never
    started with these templates and so, hovering the cart had no effect.
    This is due to this widget selector which targeted a cart link located
    inside an element with id `#top_menu`, which is not the case in these
    templates where the cart link is located outside of it.
    
    This commit fixes this widget selector, in order for the cart link to be
    reachable in all header templates.
    
    opw-3267114
    
    closes odoo/odoo#118822
    
    Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
    ecefa679
    History
    [FIX] website_sale: fix cart popover on hover for all header templates
    Soukéina Bojabza authored
    
    Before this commit, when hovering the shopping cart in the "Boxed" and
    "Centered Logo" header templates, the cart popover was not appearing.
    
    This happened because the `websiteSaleCartLink` public widget was never
    started with these templates and so, hovering the cart had no effect.
    This is due to this widget selector which targeted a cart link located
    inside an element with id `#top_menu`, which is not the case in these
    templates where the cart link is located outside of it.
    
    This commit fixes this widget selector, in order for the cart link to be
    reachable in all header templates.
    
    opw-3267114
    
    closes odoo/odoo#118822
    
    Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>