You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
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
root category
Product attributes -
-Shape
- Round
- Oval
The issue is in code -
File - vendor/tweakwise/magento2-tweakwise/Model/Catalog/Layer/Url/Strategy/PathSlugStrategy.php
Line - 563
$url = implode('/', array_unique($explode));
array_unique is removing save values. There is comment that it is done to avoid double values. But in ur case we need to have that values.
Actual result
Expected result
Subcategory url should be - base_url/tables-dinning-tables/round/shape/round
The text was updated successfully, but these errors were encountered: