Closed geertsmichael closed 4 years ago
Thanks for reporting this issue. This is indeed a bug, that part of the connector was developed before we added support for multiple stores and the cache only considers product skus. I created the internal issue CIF-1206 to fix this.
Expected Behaviour
When having multiple Product Bindings (1 per StoreView), using the same project (so same Magento) and caching is enabled, each Product Binding should load the correct catalog.
Actual Behaviour
When having multiple Product Bindings (1 per StoreView), using the same project (so same Magento), caching is enabled (to 5 minutes & 1000 items), the categories load correctly and show the category translations for that StoreView.
But the products loaded for each category are the products of the first StoreView that I selected. When clicking the next Product Binding, I am seeing the same products, knowing other products should be visible. After cache expiration, the first Product Binding I select and showed the products for, these will be the products that are used for the other Product Bindings.
(I first opened the French Product Binding, all French products for all Store Views)
(This time I opened the US Product Binding, all products for US are shows for all Store Views)
In Magento 1 have 3 StoreViews, on a global level I created 2 categories and on a global level I added products for 3 StoreViews. In Magento, when switching to the specific StoreViews, I could see which products would be loaded per StoreView, but not all should be visible on all Store Views. I have SKUs that are only applicable to some locales/StoreViews.
Steps to Reproduce
Platform and Version
AEM 6.4.5 CIF Connector 0.7.1 Magento 2.3.1 (Could this be related to this version of Magento? Planning to upgrade soon)