FroshProductCompare
FroshProductCompare copied to clipboard
Wrong content and count within the compare with deleted products
PHP Version
8.2
Shopware Version
6.5.8.11
Plugin Version
2.0.0
Actual behaviour
If products are added to the compare which are not available anymore, than the plugin will show a wrong compare number and only shows the remaining available products within the compare
Expected behaviour
If a product is not available anymore, the product should not be shown in the compare anymore
Steps to Reproduce?
- Create 3 products
- Add all to compare
- Delete 1 product
I think the problem is, that everything is stored in a local storage but there is never a check if the stored products are available anymore