vtex-apps/product-comparison

Product Comparison does't work under product page context.

Opened this issue · 0 comments

Describe the bug
I'm no very sure if it's a bug that should be working, or a request for a feature.. but..
When trying to use the product comparison interfaces in product page, just as it is done in search result, the blocks are rendered, no errors are given into the terminal... but when trying to add the product to the queue to be compared, it's not added, and that behavior also makes the comparison in search result to not work properly...
idk if it's some context issue.

To Reproduce
Steps to reproduce the behavior:

  1. Reproduce the same steps and configuration for store.search in store.product
  2. Try to add the product to compare
  3. See that the drawer is rendered but no list context. Try to go back to the search result(configured as well) and see the same behavior.

Expected behavior
Expected to behavior just like in search-page, being able to add a product to the comparison list through product page.