Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

catalog sync does not take into account disabled stores #636

Open
iancassidyweb opened this issue Oct 30, 2024 · 1 comment
Open

catalog sync does not take into account disabled stores #636

iancassidyweb opened this issue Oct 30, 2024 · 1 comment

Comments

@iancassidyweb
Copy link

iancassidyweb commented Oct 30, 2024

Background

  • The catalog sync of the dotdigital connector syncs the catalog for each website & store combination.
  • When syncing the catalogs the module does not check the is_active flag of the store.
  • This means you can end up in a situation of over syncing catalogs that are not required.

Steps to replicate

  1. Configure magento with sample data and the following store setup:
Website Store Store Status
United Kingdom en_gb enabled
Canada ca_en enabled
Canada ca_fr disabled
  1. Enable the DD connector and catalog sync for both websites

  2. Sync the catalogs

Current results

  • The en_fr catalog is being synced incorrectly as: whilst the connector is enabled at website level, the store has been disabled.

Expected results

  • The en_gb catalog should be synced as it's enabled at website and the store is_active.
  • The ca_en catalog should be synced as it's enabled at website and the store is_active.
  • The en_fr catalog should not be synced as: whilst the connector is enabled at website level, the store has been disabled.
@pvpcookie
Copy link
Contributor

Hi @iancassidyweb,

Thank you for this. We will investigate and get back to you as soon as we can :)

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

No branches or pull requests

2 participants