• Resolved phell0x

    (@phell0x)


    Hello!

    First of all – Cool plugin, I really like it.
    I’m currently working on a website for weddings. The price is calculated out of the number of guests – but it varries and the price pr. person is lower if the total is higher.

    Example:
    Like 100 persons invited is maybe 1$ pr. guest
    200 persons invited is maybe 0.95$ pr. guest

    How can I insert that in a formula? It is very rough numbers so we dont need to have a range slider from 100 to 5000 with all the posibilities in between.
    You will be able to choose 100 guests, 150 guests or 200+ guests ??

    Hope you can help me!

Viewing 1 replies (of 1 total)
  • Hello, @phell0x

    It all depends on what kind of progression and the dependence of price on quantity will be used by you (geometric, arithmetic, simple sequence, etc.)

    If you have a scheduled table with prices for a certain number of guests, you can use the conditions system or a simple if/else JS formula.

    I put together a calculator with a formula for your description. You can view the formula and elements by clicking on the link to the video:

    Video

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Price variable according to range slider’ is closed to new replies.