Populate Product Regular Price with a calculated ACF Field Value


Could someone kindly assist me with how to auto populate a value of Regular Price Field in Simple Product with a value that I calculate using ACF.

Here is a scenario.

  1. All Products in our store are Simple Products.
  2. We use ACF to calculate rates for the product using simple formulas and configuring different parameters.

Updated Custom Fields - Added a COnditional Checkbox to accept Price or Set Manually

Now, we wish to auto populate the regular Price with the Value that is generated from the Target Net Retail Price Field of the calculated Fields, if the checkbox is Yes. Else, Leave the Regular Price Blank and Let the user manually Fill it.

We will be using a Bulk Editor to input all the mandatory fields and wish to see the regular price get populated and not worry about messing up with our business numbers.

I sense the necessity to use Jquery. Could someone share an idea on how to achieve this task.

Thank you and much appreciate your time and efforts.

Koushik V 7 months 2020-12-30T14:10:32-05:00 0 Answers 3 views 0

Leave an answer