Support » Plugin: Product Options and Price Calculation Formulas for WooCommerce – Uni CPO » calculation / price change does not work

  • Resolved IraCamirai

    (@iracamirai)


    Hi,

    because I have investigated all possible errors – CSS tag adjusted (that’s why the price in red – is also correct), plugins disabled, different options tried-even without calculation, I ask here, maybe you will find a solution.
    No matter what I enter, the price does not change,
    thank you for an answer,

    warm regards

    The page I need help with: [log in to see the link]

Viewing 3 replies - 16 through 18 (of 18 total)
  • IraCamirai

    (@iracamirai)

    I like to buy the Pro version, if that works better, only the price has to be shown …

    Besides, thank you very much and stay healthy …

    Plugin Author moomooagency

    (@moomooagency)

    You just got the wrong concept. “the radiobuttons have a price per option” yes, they have, but only main formula sets price. So, you can set price/rate for options, but it does not change price in anyway until you actually use option’s variable in the main formula somehow.

    Quick example: Text Input option, type number, has unique slug uni_cpo_width, so its variable looks like {uni_cpo_width} and this variable holds whatever value users inputs in the option field. If user inputs ‘5’, variable {uni_cpo_width} equals ‘5’. Now open main formula modal window and simply add {uni_cpo_width}. Save! Now the product’s price equals whatever user inputs in the option field. Let’s make it more complex, make your formula like this: {uni_cpo_width}*2+1. Now product’s price is being calculated according to this maths formula. Example: if user inputs ‘7’, then the price becomes 7*2+1 = 15. The price is ’15’!

    Plugin Author moomooagency

    (@moomooagency)

    Another example: Select based option Size with suboptions (prices in brackets) X [1], M [5] and L[7] and the option’s slug is uni_cpo_size. Set main formula to this {uni_cpo_size} (just variable, yes) and the price will become ‘1’ when user selects X or ‘7’ if he selects L.

    Simple! Just set main formula.

Viewing 3 replies - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.