Open adoerler opened 8 years ago
Sorry - been crazy busy over the last few days and not had a chance to look at this. Will soon.
Hi, @adoerler thanx for the fix.
@judgej are you going to update the plugin in the future or ?
Kindly regards,
Pascal
At some point, yes. Other projects seem to take over and time flies though :-(
If there is a fix I can apply to this plugin, I'll get it pushed through quickly.
Thanks for the response, well at this moment im trying to make a fix in the plugin, if i manage to fix it with the new hooks i will let you known
Hi,
I lilke you plugin - its very usefull. After upgrading to woocommerce 2.6.x and switching to new Wordpress-WC-API endpoint /wp-json/wc/v1/ the plugin stopped working. After digging and debugging around for a while I've found out, that they have renamed the actions and they also missed to add one action which is needed by your plugin.
So the first change in your
wc-api-custom-meta.php
is to replace:As for the missing do_action call: Please compare:
So, what I did, is to patch woocommerce as follows:
Now everything is working again.
I'm not sure what is the best way to update your plugin, as the calls depend on the api version used. On the woocommerce side it would be great if the would readd the action, but as far as I've read, the are not very happy with updating meta through api anyway, so that I'm not sure if the will add the missing action. But why not try at least, I've just filed an issue about this case, see https://github.com/woothemes/woocommerce/issues/11495
Kind regards Andreas