EmicoEcommerce / Magento2Tweakwise-archived

Magento 2 module for Tweakwise integration
Other
9 stars 25 forks source link

Old values not deleted from tweakwise_attribute_slug table. #200

Closed gjportegies closed 2 years ago

gjportegies commented 2 years ago

Issue Brief

We recently ran into an issue where we didn't get any results when filtering on a specific size (eg. /categorieen/schoenen.html/maat/37-5/) although we did have products available for this filter value. When looking further into this issue I found out that there were old attribute values in the tweakwise_attribute_slug which were not used anymore.

We had an text swatch attribute maat with the value 37.5. We've changed that value later on to 37,5. The old value was still available in the tweakwise_attribute_slug which didn't have any results anymore.

old-entries-tweakwise-attribute-slug

To fix this issue I've truncated the table so the values will be regenerated. Although this issue will appear again when changing the attribute values.

Preconditions

Environment

Hnto commented 2 years ago

@gjportegies I've also reproduced the issue and we will be working on a fix in the next release.