Woocommerce increments SKUs & API issues
-
Hi,
I have a travel photography site and connected woocommerce (WC) to sell print-on-demand physical (not downloadable) products from pwinty/prodigi (print lab) via its API. I also connected the FeedThemGallery plugin to auto-populate photos into products.Created a Model product in WC with 2 sets of attributes: photo sizes (x4) and photo mediums (x8). Then, auto-generated 26 variations for each product (not all sizes are offered for all mediums). I’m testing one photo gallery that only contains 5 photos (products) and 26 variations for each product.
Fist issue:
- Used the print lab’s SKUs for the WC Model Product, but when SKUs generate and transfer to attributes/variations for each product, WC adds “-1, -2, -3” at the end of each SKU as it reads the SKU number from the original Model product, then increments. I can’t manually edit the SKUs for the auto-created product variations as this returns an “Invalid or duplicated SKU”. Is there a workaround? (I’ve deleted ‘orphaned’ everything but still returns this error.)
- However, as the print lab’s SKU for each canvas comes from the WC Model product when auto-populated (disregarding the incremented number issue for a moment), when sent to the print lab, it does not recognise the auto-populated SKU+wrap attribute eg. GLOBAL-CAN-16×20-WHITE-WRAP. The print lab only recognises the GLOBAL-CAN-16×20 part.
- The print lab’s tech support advises to create own SKUs for WC, which I can then map to the print lab’s SKU+attribute when sending to the print lab. As my ecart is auto-fulfilment, I don’t understand how this can work or how to do this in WC?
Second issue:
The print lab offers many canvas products. While most of their products have unique SKUs, canvas products don’t. So, need to use the same SKU (eg GLOBAL-CAN-16×20, GLOBAL-CAN-20×30, GLOBAL-CAN-24X32) when ordering and then use the Wrap (mirror wrap, black wrap, white wrap, etc.) as the attribute.Any help would be fantastic! Many thanks and Happy New Year!!
- The topic ‘Woocommerce increments SKUs & API issues’ is closed to new replies.