Docs
Auto Delete Products

Auto Delete Products

Automatically delete or archive products when removed from Square or WooCommerce.

Keep your catalogs clean by automatically removing products from one platform when they're deleted from the other.

Overview

With auto-deletion enabled:

  • Deleted products sync between platforms
  • Archived products become drafts
  • Enable for each direction independently
  • Prevents orphaned catalog items

How It Works

The behavior depends on whether a product is archived or deleted:

Square ActionWooCommerce Result
ArchivedSet to Draft
DeletedMoved to Trash
WooCommerce ActionSquare Result
Set to DraftArchived
Moved to TrashDeleted

This mapping ensures consistency between how each platform handles inactive products.

Enable Auto Deletion

Woo to Square

Sync deletions from WooCommerce to Square:

  1. Go to SWS Pro > Settings > Products
  2. Find the Product Automation section
  3. Toggle on Enable auto product deletion under Woo to Square
  4. Click Save Changes

When you delete a WooCommerce product:

  • Trashed products are deleted from Square
  • Draft products archive the Square item
  • Linked products are unlinked after deletion

Square to Woo

Sync deletions from Square to WooCommerce:

  1. Go to SWS Pro > Settings > Products
  2. Find the Product Automation section
  3. Toggle on Enable auto product deletion under Square to Woo
  4. Click Save Changes

When you delete a Square product:

  • Deleted products move to WooCommerce trash
  • Archived products become WooCommerce drafts
  • Linked products are unlinked after deletion

Use Cases

Keeping Catalogs Clean

When you discontinue a product, deleting it from one platform automatically removes it from both.

Seasonal Products

Archive seasonal items in Square to set them to draft in WooCommerce, keeping them available for next season.

Product Consolidation

During catalog cleanup, deletions sync automatically so you only need to manage one platform.

Best Practices

Disable During Bulk Cleanup

If you're doing major catalog reorganization, consider temporarily disabling auto-deletion to prevent accidental cascading deletions.

Use Archive for Temporary Removal

Archive products in Square instead of deleting if you might need them again. They'll become drafts in WooCommerce rather than being trashed.

Review Before Deleting

Check both platforms before deleting products to ensure you understand what will be removed.

Troubleshooting

Products not being deleted

  • Verify auto-deletion is enabled for the correct direction
  • Check that products are properly linked
  • Confirm webhook connectivity with Square
  • Review sync logs for errors

Products going to draft instead of trash

  • This is expected behavior for archived items
  • If you want to fully delete, use the delete option rather than archive
  • Check the source platform action matches your intent

Deletions not syncing in one direction

  • Verify the specific direction is enabled
  • Only one or both directions can be active
  • Check that the product was linked before deletion