bigcommerce / bigcommerce-for-wordpress

A headless commerce integration for WordPress, powered by BigCommerce
https://www.bigcommerce.com/wordpress/
GNU General Public License v2.0
109 stars 49 forks source link

Deleted product images are not removed after product sync #357

Closed bc-NickV closed 2 years ago

bc-NickV commented 2 years ago

Store info:

bigcommerce.purehempbotanicals.com / purehempbotanicals.com

Expected behavior

Removing product images in BigCommerce would also remove the images in WordPress after a product sync

Actual behavior

Deleted images are being retained.

Steps to reproduce behavior

  1. Add product with multiple images in BC
  2. Sync to WP
  3. Delete 1 or more images in BC
  4. Re-Sync

Screenshot/Video (if applicable)

Sync Settings - https://bit.ly/3alAfYG

BC Slack - https://bigcommerce.slack.com/archives/C7XEZCSBF/p1654235988597979

Workaround or possible solution

bc-NickV commented 2 years ago

debug.log

yuenvision commented 2 years ago

@Nick-BC Can you confirm that you are executing a full sync (by selecting "All Products" from the sync drop-down option) and not a partial sync?

tyla-taylor commented 2 years ago

The problem was determined to be in custom implementations with DIVI builder. Developer uses components rendering via shortcodes instead of our native templates and put gallery shortocde. It pulls all the images and causes the issue. Root cause of this issue was due to theme customizations.