-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems not to work in Woocommerce 3.0 #22
Comments
Sorry, not had time to look at this yet. Solution posted by Hinzaldi looks like a fix:
I'll try to get that released today. |
Hi. The solution that you provided not working when retrieving a product though. I've not tested by setting a custom meta attribute. Here's https://pastebin.com/N8pWMSFM the output of: Replaced the id with get_id as described. Please suggest. |
I have the same issue, with Woocommerce 3.1.1. I have applied the fix but it still doesn’t work. When I try to create a product with more than one variation, only one is created and I get the error ‘Fatal error: Uncaught Error: Cannot use object of type WC_Product_Variation as array…’ Any ideas? Thanks in advance! |
As described in https://wordpress.org/support/topic/does-not-work-for-woo-3-0/ it seem not to work in Woo 3.x (in my case 3.0.7). Setting custom_meta but saves nothing.
The text was updated successfully, but these errors were encountered: