Skip to content
Snippets Groups Projects
Commit fcb75c42 authored by Andrew Chau's avatar Andrew Chau Committed by William Braeckman
Browse files

[FIX] website_sale_comparison: Ensure product_data available


Check whether the product ID of the first item exists inside product_data
before trying to access it. Although it means the first item still does not
appear, both products will be present in the user's cookies.
When the user refreshes the page or navigates away, both products will be
visible in the comparison panel.

closes odoo/odoo#97134

X-original-commit: 5c6a92d0
Signed-off-by: default avatarWilliam Braeckman (wbr) <wbr@odoo.com>
parent 134c3228
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment