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

Categories Syncs Are Not Cleaned Up and Product Category Assignments Updated From Correct Channel #464

Open
bc-erich opened this issue Aug 29, 2024 · 0 comments

Comments

@bc-erich
Copy link
Collaborator

bc-erich commented Aug 29, 2024

Expected behavior

If the Wordpress storefront channel has its own category tree and categories, then the Wordpress plugin should only source the categories from the connected channel and keep the assigned categories in sync. Any categories that are no longer within the tree should be removed from Wordpress, any new categories that are added should be synced over, and product category assignments should be updated.

Actual behavior

The Wordpress channel has its own category tree and categories assigned yet categories assigned to the BigCommerce default storefront and other channels are synced over and remain in Wordpress. Products continue to be assigned to the default storefront's category instead of the categories associated with the channel

Steps to reproduce behavior

  1. Connect Wordpress instance to fresh BigCommerce trial
  2. Select "Yes, automatically list new BigCommerce products on this channel"
  3. Select Full - Import and store all product data in WP database (default)
  4. Disable webhooks
  5. The plugin should sync the categories and products from the store successfully
  6. Login to the BigCommerce Control panel and update to the new Category Manager Experience, which allows you to manage categories across multiple storefronts
  7. Create a category tree under the Wordpress channel and create a new category
  8. Pick one of the products and assign it to the newly created category under the Wordpress channel
  9. Go into Wordpress and resync
  10. Note that the new category was not brought over during the sync, the product's category assignment has not updated, and the categories from the default channel still existing in the plugin despite the channel now having its own category tree and categories

Screenshot/Video (if applicable)

Example Image

Workaround or possible solution

@bc-erich bc-erich added this to the Minor Release 5.1.0 milestone Aug 29, 2024
@bc-erich bc-erich changed the title Incorrect Categories From Other Channels Are Synced Categories Are Not Correctly Sourced And Synced With Assigned Channel Aug 30, 2024
@bc-erich bc-erich changed the title Categories Are Not Correctly Sourced And Synced With Assigned Channel Categories Are Not Correctly Sourced And Synced From Assigned Channel Category Tree / Product Category Assignments Not Updated in Wordpress Aug 30, 2024
@bc-erich bc-erich changed the title Categories Are Not Correctly Sourced And Synced From Assigned Channel Category Tree / Product Category Assignments Not Updated in Wordpress Categories Are Not Correctly Sourced And Assigned to Products From Channel Category Tree Aug 30, 2024
@bc-erich bc-erich changed the title Categories Are Not Correctly Sourced And Assigned to Products From Channel Category Tree Categories Syncs Are Not Cleaned Up and Product Category Assignments Updated From Correct Channel Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant