EmicoEcommerce / Magento2Tweakwise

Magento 2 module for Tweakwise integration
Other
4 stars 16 forks source link

Subcategory url is wrong when customer filter the results on category page #123

Closed atul-emico closed 10 months ago

atul-emico commented 11 months ago

Issue Brief

On category page we are showing subcategory slider on top (before products). The url of that subcategories are wrong.

Environment

Steps to reproduce

  1. Install Tweakwise module and do all required configuration and export data
  2. Create a category structure as like -

Actual result

  1. Subcategory url - base_url/tables-dinning-tables/round/shape/

Expected result

Subcategory url should be - base_url/tables-dinning-tables/round/shape/round

ah-net commented 11 months ago

@atul-emico I'll see if we can replace the array unique with something else that only removes duplicate values if they are consecutive/ (like tables/round/round) i think this still solves the original problem and fixes your specific problem.