HI @klive, @wpsos911,
Could you record me reproducing your issue using tool like this? https://www.useloom.com
It helps me to quickly figure out issue and squash it with immediately.
Thank you
Same issue here, just upgraded to the latest version of Woocommerce.
Now when you save attributes, they disappear. If you reload the page it appears they have saved, and they come back.
Disabling the plugin makes things work again as they should in the admin
To clarify this happens on the Edit Product screen. You can assign and save attributes to a product. They do indeed save, but the attributes appear to refresh via ajax and are blank. If you reload the page in full, the attributes come back.
I have tracked this issue down to line 201 of the file includes/class-admin.php:
global $thepostid;
It appears that $thepostid is an integer when the edit page is first loaded, but after saving the attributes, they refresh via ajax and $thepostid is then null.
A very quick work around which seems to work for me is to add, directly below “global $thepostid” the following:
global $thepostid;
if ( ! $thepostid ) {
$thepostid = $_POST[‘post_id’];
}
This helped on one occasion: “To clarify this happens on the Edit Product screen. You can assign and save attributes to a product. They do indeed save, but the attributes appear to refresh via ajax and are blank. If you reload the page in full, the attributes come back.” from 1stwebdesigns above
@grantog,
Could you record me reproducing your issue using tool like this? https://www.useloom.com
It helps me to quickly figure out issue and squash it with immediately.
Thank you