Should update Drupal Commerce when Printful stock status changes.

Created on 22 January 2020, almost 5 years ago

Printful product availability changes ( and their notification system not so great ). From what I can tell, a store owner does not receive out-of-stock / discontinued information in the product sync api. However, it appears that they have a webhook that will notify of stock changes.

What I think we should do is unpublish any variant that is not available ( whether out of stock / discontinued ).

Unfortunately, from their documentation, they will only give this information on the Variant level. So, I think we should check to see if there are any published variants after updating, if not, unpublish the product.

Also unfortunate, they don't release any information about when an out-of-stock item may be back in stock. I also don't see where they would notify us when an item is available again. I'll send an email to their dev support. I'll also review their Woocommerce implementation to see how / if it's handled there.

If anyone has any ideas or concerns with my suggestions about how to handle discontinued / out-of-stock, please post some alternatives.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States scottsawyer Atlanta

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024