Support

Account

Home Forums General Issues Automatic Calculation price per kilo Reply To: Automatic Calculation price per kilo

  • You’re welcome! 🙂

    The price per kilogram will be shown in the backend after viewing the product in the store. This is due to the field updating only after the update field function is launched, which will be launched during the loading of the product page.
    If you need to automatically calculate the price per kg in the admin panel, then you can use JS. This is a forum for ACF fields, so I wrote how to solve your problem with it.
    If you do it in the backend, you just write a script for calculating the price. You specify where to get the weight, where to get the price and where to insert the result.