Custom mapping for WooCommerce? #12
|
Is it possible to create custom mappings from attributes in Sellbrite to attributes in a WooCommerce store? |
Replies: 3 comments 7 replies
|
Hello - Thanks for reaching out to us! Sellbrite currently doesn't support custom attributes from WooCommerce. You would have to add or update any custom attributes directly on WooCommerce. |
|
You can use the GET method mentioned here to export the custom attributes using the API, but there isn’t a POST or PUT method for publishing to WooCommerce using the Sellbrite API. You would need to use the WooCommerce API to push those attributes over. I did find some information in this WordPress post here that gives some helpful information on how that would work. |
|
After quite a bit of trial and error, I was able to get this working without Zapier or a cron job. The solution was a small WordPress plugin that runs after Sellbrite publishes a product to WooCommerce. The plugin:
One important lesson: hooking into the correct WooCommerce REST product event was essential. My initial attempts using standard WordPress product save hooks were unreliable because Sellbrite publishes products through the WooCommerce REST API. The end result is that all attribute data is entered only once in Sellbrite and is automatically available in WooCommerce after publishing. This eliminated the need to manually enter attributes in both systems. |
After quite a bit of trial and error, I was able to get this working without Zapier or a cron job.
The solution was a small WordPress plugin that runs after Sellbrite publishes a product to WooCommerce. The plugin:
brand,condition) andcustom_attributes(color, material, pattern, size, etc.)._product_attributesmetadata so the attributes appear correctly in WooCommerce.One important lesso…