How to add a base cost (in addition to an item cost) when quantity is >0
-
Hi Marc,
Thank you for fixing my configurator so that the grouped layers show up. I have another issue I would appreciate your help on:
I am trying to write a formula that adds a set value only when the quantity of the attribute is greater than 0. From your instructions, it looks like I should be able to use “value_is_in_range(from, to, val1)”, but I’m not sure how to reference the variables I want e.g. “Main Invitation: Quantity”. In essence, I want a base cost for an attribute to be added on top of the per-item cost. A formulaic example for the print method attribute would be:
IF({Main Invitatation: Quantity}>0,(50+({Main Invitatation: Quantity}*{simple (Main Invitation: Print method):12})),0)
So if the quantity is 0, the response is 0, otherwise I want the item quantity multiplied by the formula value of the attribute, plus a base cost of x (£50 in this example). I might not have got the brackets in the right place, and I appreciate this doesn’t work as it would in excel, but hopefully you understand what I’m trying to do.
Thanks again!
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.