‘Meta: menu_order’ and ‘Position’ don’t match
-
We use an ERP called Stok.ly to keep most of our product data and sync it to WooCommerce via REST API. We use a custom attribute within Stok.ly that is mapped to WooCommerce’s ‘menu_order’ attribute to specify the order product variations appear within a variable product.
When I sync a product from Stok.ly to Woocommerce, it successfully changes the ‘menu_order’ value, but the order in the variable product doesn’t change.
I’ve exported a products CSV from WooCommerce, and it contains columns for both ‘Meta: menu_order’ and ‘Position’. They don’t always match. Changing values in the ‘Position’ to match the ‘Meta: menu_order’ value and importing back into WooCommerce fixes the order.
The problem is, the ‘Position’ value isn’t visible via the API in Stok.ly, so I can’t map to it.
Does anyone have any idea what the problem might be? We have the ‘Post Types Order’ plugin enabled.
Is there any way to make the ‘position’ values visible and changeable via the API?
- You must be logged in to reply to this topic.