Woocommerce Product Price not saving or updating correctly

This topic contains 3 reply and 3 voices, and was last updated by Brennen 10 years, 3 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
December 3, 2013 at 4:04 pm 13201
Brennen Hi Tareq, Great plugin, only one issue: The woocommerce product price field does not save when adding or updating a product from the front end. I have read all tutorials and am using the custom meta key: _regular_price NOTE: It does save when I manually go to the backend and update a product from there. I do not have to edit anything, I just click update and the price automatically sets itself with the correct input from when it was added on the front end. So it's partly working. I got _manage_stock and _stock to work flawlessly without any errors when adding or updating a product from the front end. Also all other fields, besides price, work fine when adding or updating a product from the front end. Any help is much appreciated Please let me know where to send login details for you to test...
December 3, 2013 at 4:08 pm 13203
Mahi Mahi

Have you tried “_price” as meta_key?

December 3, 2013 at 4:17 pm 13204
Tareq Hasan Tareq Hasan

Take a look at this, it’ll update the _regular_price field with the value from _price on submit and update form.

December 4, 2013 at 12:50 am 13227
Brennen Brennen

Thanks Tareq, I changed the key to _price, added the code to the functions file, and added the _visibility key and it all works.

Thanks!

Viewing 3 Posts - 1 through 3 (of 3 total)