Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Virtual Category conditions not working with multi stores #2405

Closed
davidandersson1 opened this issue Dec 24, 2021 · 4 comments
Closed

Virtual Category conditions not working with multi stores #2405

davidandersson1 opened this issue Dec 24, 2021 · 4 comments
Assignees

Comments

@davidandersson1
Copy link

davidandersson1 commented Dec 24, 2021

If we create Virtual Category and add Virtual rule with condition like Sku "Contains" , add some skus and then select another store from Scope drop down and add again different product skus then it's overwrite previously added other countries SKU's.

Magento Version : 2.4.1
ElasticSuite Version : 2.10.8.1
Environment : Production

Third party modules :
Aheadworks_Autorelated
Amasty_Storelocator
Amasty_ShopbyBrand
Amasty_Gdpr

Steps to reproduce

  1. setup default magento with multi stores, create Virtual category and add Virtual rule with condition like Sku "Contains" and add some products sku's.
  2. Select another store from Scope drop down for same category and add different sku's than step 1
  3. it's overwrite previously added other countries SKU's.

Expected result

  1. both store's category should have to show different Sku as per virtual rule.

Actual result

  1. Both store's showing same Sku's as per added in above step 2 because its overwrite

Can you please let us know, Is it possible to add different Sku on same virtual category for different stores?

Thanks,
David Andersson

@vahonc
Copy link
Collaborator

vahonc commented Jan 3, 2022

Hello @davidandersson1.

Unfortunately, it doesn't work that way, especially when it comes to virtual categories and creating rules for them. Even if it's the same categories with the only difference in other SKU of products, you must follow the following steps:

  • Select the required store/website from the scope drop-down list.
  • Create a new virtual category.
  • Set a rule for this category with a condition like Sku "Contains" and add some product SKU's.
  • Save the category by clicking on the Save button.
  • Choose another store/website.
  • Create a new virtual category again.
  • Set a rule for this category by adding other product SKU's.
  • Save the category by clicking on the Save button.
  • Clear and re-index all data.

BR,
Vadym

@davidandersson1
Copy link
Author

Hello @vahonc thanks for your suggestion, we will try with it.

@romainruaud
Copy link
Collaborator

@davidandersson1 any update ?

@davidandersson1
Copy link
Author

Hi @romainruaud,

Really sorry, I was forgot to reply here but its works fine according as per your suggested way.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants