You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However this doesn't work with product variations, for example if i have a variable product, which has a number of variations whose properties change regularly and I need to update those variations without deleting and re-creating them every time I update them, I want to be able to do this:
- endpoint: products/<variation_id> (not the id of the parent product but the ID of the variation
- data: {'custom_meta': {'field':'value'} }
However this just doesn't work on Variations, it just ignores it.
I also can't obtain the meta of a product variation through this plugin, only the meta of the variable product which is it's parent.
The text was updated successfully, but these errors were encountered:
When accessing a product variation directly via product/<variation_id> it gives the variation's meta instead of the parent's meta.
When modifying a product variation directly via product/<variation_id> the API can directly modify the the variation's meta which was not possible before.
Use the new v2 REST API (WC 3.x) instead of this plugin. It now does everything this plugin does out of the box. The README gives some examples of how you would manage the metadata fields.
Hi,
I'm having a problem with this plugin where updating a simple product works fine with the api call:
However this doesn't work with product variations, for example if i have a variable product, which has a number of variations whose properties change regularly and I need to update those variations without deleting and re-creating them every time I update them, I want to be able to do this:
However this just doesn't work on Variations, it just ignores it.
I also can't obtain the meta of a product variation through this plugin, only the meta of the variable product which is it's parent.
The text was updated successfully, but these errors were encountered: