Crocoblock Front-End Form with Woocommerce Price

Short Answer
Want to give your client the possibility to create/edit a woocommerce product but don’t know how to add/change the price? add text fields to your form and link to meta: “_regular_price” and “_sale_price”

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 ? :)

Here are some Screenshots
it_ITItalian
en_USEnglish it_ITItalian

Questo sito fa uso di cookie per migliorare l’esperienza di navigazione degli utenti. Può conoscere i dettagli consultando la nostra privacy policy qui. Proseguendo nella navigazione si accetta l’uso dei cookie; in caso contrario è possibile abbandonare il sito.