WooCommerce 3.0 Issues
-
I am having issues after the WooCommerce upgrade to 3.0. Once I enable the plugin, I can’t save attributes as variations. I can get Colors for example added but not the items themselves as long as they are of “image” type for example.
-
I am also having the same problem in WooCommerce 3.0.1 Love the plugin!
I am unable to attributes as variations. I have created a label type attribute and no luck.
As far as I can see they fail to pass the option values in the ajax call:
WORKING ONE:
action:woocommerce_load_variations
security:ac3a2ea185
product_id:1673
attributes[pa_color][id]:6
attributes[pa_color][name]:pa_color
attributes[pa_color][options][]:229
attributes[pa_color][options][]:231
attributes[pa_color][options][]:232
attributes[pa_color][options][]:230
attributes[pa_color][position]:0
attributes[pa_color][visible]:false
attributes[pa_color][variation]:true
attributes[pa_color][is_visible]:0
attributes[pa_color][is_variation]:1
attributes[pa_color][is_taxonomy]:1
attributes[pa_color][value]:
page:1
per_page:15NOT WORKING ONE:
action:woocommerce_load_variations
security:ac3a2ea185
product_id:1673
attributes[pa_color][id]:6
attributes[pa_color][name]:pa_color
attributes[pa_color][position]:2
attributes[pa_color][visible]:false
attributes[pa_color][variation]:true
attributes[pa_color][is_visible]:0
attributes[pa_color][is_variation]:1
attributes[pa_color][is_taxonomy]:1
attributes[pa_color][value]:
page:1
per_page:15I have the same issue after updating, any attributes created with this plugin do not save.
-
This reply was modified 9 years, 1 month ago by
galaktickystopar.
Thank you very much for your reports and suggestion. We’re working on the next version and will release the update version soon.
Thank you
Any quickfix suggestions meanwhile?
I am using WCc3.0.1, but its not working on this, any fixes?
Hello guys.
I tested it on a fresh install for testing, and the error continues.
Should we update in the next few days?
Same issue here.
When i select the attributes to save they do not stay saved so i cannot create a variation from them…
I had the same problem, where any updates to a product causes my swatch attributes to not save anymore. My temporary fix was to disable the plugin, revert the attribute(s) to its “select” type, add the attribute values on the product page, save attributes and update product, then activate the swatch plugin. Not ideal, hopefully an update fixes this soon.
Thanks for that work around I may give that a try. It really does not a fix soon though π
As it’s such a good plugin
Update: This does not affect just saving, when you edit an existing product, it clears any saved ones as well…
I think I got the problem:
Working call
‘post_id=1673&product_type=variable&data=attribute_names%255B0%255D%3Dpa_color%26attribute_position%255B0%255D%3D1%26attribute_values%255B0%255D%255B%255D%3D229%26attribute_values%255B0%255D%255B%255D%3D231%26attribute_values%255B0%255D%255B%255D%3D232%26attribute_values%255B0%255D%255B%255D%3D230%26attribute_variation%255B0%255D%3D1&action=woocommerce_save_attributes&security=9bf515fb8e’
Not working call:
‘post_id=1673&product_type=variable&data=attribute_names%255B0%255D%3Dpa_color%26attribute_position%255B0%255D%3D1%26attribute_values%255B0%255D%255B%255D%3Dwhite%26attribute_values%255B0%255D%255B%255D%3Dred%26attribute_values%255B0%255D%255B%255D%3Dpistachio%26attribute_values%255B0%255D%255B%255D%3Dorange%26attribute_variation%255B0%255D%3D1&action=woocommerce_save_attributes&security=9bf515fb8e’
You’re passing the attribute slug as attribute value and you should pass the attribute ID instead.
231 vs white π
Testing fix in the JS…
Fixed, not in the JS.
includes/class-admin.php line 206
replace echo ‘<option value=”‘ . esc_attr( $term->slug )
with echo ‘<option value=”‘ . esc_attr( $term->term_id )
Now options save perfectly fine π
-
This reply was modified 9 years, 1 month ago by
Hristo Pandjarov.
Thank you very much for your suggestion @hristo-sg
We fixed this issue with other notices on the frontend.
Please update to the latest version. -
This reply was modified 9 years, 1 month ago by
The topic ‘WooCommerce 3.0 Issues’ is closed to new replies.