PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Dynamically Change Price of an item.

  1. ASMBS IT
    Member

    I am suprised to see that no one else has ran into this issue. I have an issue where I need to change a price field on the fly. In other words if someone buys 1-24 of an item, the price is $5.00. If they buy 25-99 the price is $4.50. I have not found any hook/filter than will do this. I can code it out in PHP but that really does no good using Gravity Forms as it seems you more directed into using their hooks/filters and modifying them to fit your needs. Does anyone have any recommendations as to what direction I need to go?

    Posted 12 years ago on Tuesday September 20, 2011 | Permalink
  2. This is a feature and not a bug or issue. Nobody has requested this feature. What you are describing is variable pricing based on quantity. This isn't currently an available feature. It's something that we can add in a future release when we enhance the Pricing Fields further.

    This can be done now but you would have to use hooks/filters to check the quantity and then re-adjust the pricing dynamically when the form is submitted.

    Here is another forum post that discusses something similar:

    http://www.gravityhelp.com/forums/topic/dynamic-price-per-square-metre-calculation

    It's not the exact same thing, but it is similar. They were dynamically generating the price based on measurement calculations.

    Posted 12 years ago on Tuesday September 20, 2011 | Permalink