• Resolved ubbecicero


    Hi, thanks for a great product.

    We’ve bought premium and figured out the complex part of pricing our products, but now I simply want to add a set amount at the end of the calculation.
    The top 5 radio inputs has individual rates and then a rather long list of rules in the Fx depending on how many items are selected.
    These 5 radio buttons needs a set amount, for example;
    Button 1: +320
    Button 2: +640
    Button 3: +860
    How do I add this without making the Fx list 120 rules long?

    This feels like it should be super easy to do, but I feel lost.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mr.psiho



    1) Set these prices in ‘price/rate’ setting of your radio option.
    2) Modify your price calculation formula by adding something like ‘..+{uni_cpo_your_option}’

    That’s all.

    I might have been unclear, or maybe I just don’t get it.

    The radio button gives a decimal to count with in the formula.
    1: 0,6
    2: 1
    3: 1,05
    4: 1,1
    5: 1,2
    In the Fx these are calculated with the slider.
    Example: If slider is greater or equal then 400 = 36 * slider amount * radio button

    What I need to add is:
    If radio button is selected, add set amount at the end of the calculation
    1: 0
    2: 320
    3: 640
    4: 960
    5: 1280
    If I were to do this in Fx, I would need 5 separate lists of rules, meaning it would get like 126 rules long. There must be a better way to do this, right?


    • This reply was modified 6 months, 1 week ago by  ubbecicero.
    Plugin Contributor mr.psiho


    Thanks for the clarification. AS we see it always depends on the context. So, in your case I would go with NOV matrix. What important is to keep your price/rate setting values unique across the suboptions. Based on your example, you have 5 suboptions with unique values (0.6, 1, 1.05 etc) – that’s good! Now use them in NOV matrix. Put them on X-axis or Y-axis – it does not matter. Choose the same this option for both and then add 1 row (or 1 column, depends on your previous choice where to put those values), add value ‘1’ and then fill in your second values in the matrix, so you will map them. Then add smth like this at the end of the price formula ‘..+{uni_nov_cpo_your_option}’.

    • This reply was modified 6 months, 1 week ago by  mr.psiho.

    Thank you, I finaly figured out the matrix. 🙂

    Plugin Contributor mr.psiho


    You are welcome!
    Have you rated the plugin yet? Please, do this if not, it helps us much 😉

    • This reply was modified 6 months, 1 week ago by  mr.psiho.

    Right on it. 5/5

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding a set price to suboptions’ is closed to new replies.