We have a Magento 2 environment that has multiple store views. Each store view uses their own Tweakwise Environment and therefor a different Catalog / Tweakwise / General / Authentication Key in the admin.
When we go to the second store view level in the admin, then we see the different authentication key. But when we scroll down to Catalog / Tweakwise / Default Crosssell template and Default Upsell template then we see the templates of our other storeview.
So we believe the wrong authentication key is used when loading these templates. Possibly the one that's set on the default level.
Environment
PHP Version: (5.6|7.0|7.1)
Magento Version: 2.4.2-p2
Tweakwise Version: v3.3.8
Tweakwise Export Version: v2.1.0
Magento Deploy Mode: production
Steps to reproduce
Have two store views in Magento 2 en two environments in Tweakwise.
Set default and first store view Tweakwise authentication key to key number 1
Set second store view Tweakwise authentication to key number 2
Attempt to select crosssell and upsell templates under Catalog / Tweakwise / Default Crosssell template and Default Upsell template
Actual result
On default and both store view levels the selects show only the templates of environment number 1.
Expected result
On the default and first store view level, we expect to see templates of environment number 1.
On the second store view level, we expect to see templates of environment number 2.
Issue Brief
We have a Magento 2 environment that has multiple store views. Each store view uses their own Tweakwise Environment and therefor a different Catalog / Tweakwise / General / Authentication Key in the admin.
When we go to the second store view level in the admin, then we see the different authentication key. But when we scroll down to Catalog / Tweakwise / Default Crosssell template and Default Upsell template then we see the templates of our other storeview.
So we believe the wrong authentication key is used when loading these templates. Possibly the one that's set on the default level.
Environment
Steps to reproduce
Actual result
On default and both store view levels the selects show only the templates of environment number 1.
Expected result
On the default and first store view level, we expect to see templates of environment number 1. On the second store view level, we expect to see templates of environment number 2.