FroshProductCompare icon indicating copy to clipboard operation
FroshProductCompare copied to clipboard

Wrong content and count within the compare with deleted products

Open sd-lueckel opened this issue 7 months ago • 1 comments

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

image image

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

sd-lueckel avatar Jun 26 '24 14:06 sd-lueckel