Are you using Crocoblock Frontend form (or any other frontend forms) to give your client an easy way to maintain and update their site? Are you using Woocommerce and you want to craete a form to give your client the possibility to create/edit a woocommerce product but don’t know how to add/change the price?
I went crazy for about 2 days trying to figure this out and in the end it was SO simple it’s embarissing :D
Are you going crazy too? STOP! as mentioned, is very simple:
In your form, add 2 text or number fields.
in the notification sections, you most probably already have a insert/update post set up, all you have to do is link these 2 new fields to: “_regular_price” and “_sale_price” (without the ” )
Simple no ? :)