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.

Variable Price

  1. w1nk5
    Member

    I am trying to setup a system to allow users to upload flyers.

    They have an option of 1-sided and 2-sided flyers, the quantity of flyers, folding and e-proofing.

    The pricing of folding is variable depending on the number of flyers being printed and the pricing for e-proofing is variable depending on whether the flyers are 1-sided or 2-sided.

    For example: If a user selects they want folding the pricing for quantity will increase for each quantity level.

    Is there a way to set up this type of variable pricing.

    Posted 12 years ago on Tuesday September 27, 2011 | Permalink
  2. Currently variable pricing is not a built in feature. If you wanted to do this you would have to do so by writing a customization to customize how the price is calculated.

    Variable pricing options as well as additional enhancements to the Pricing Fields is something we plan on adding in the future.

    Posted 12 years ago on Tuesday September 27, 2011 | Permalink
  3. w1nk5
    Member

    Is there a particular hook or filter I can utilize to manipulate the price?

    Posted 12 years ago on Monday October 3, 2011 | Permalink
  4. w1nk5
    Member

    I think I found it: gform_field_value_$parameter_name

    Posted 12 years ago on Monday October 3, 2011 | Permalink
  5. @w1nk5 check this out and see if it helps:

    http://www.gravityhelp.com/documentation/page/Gravity_Forms_Pricing:_Adding_Tax

    Posted 12 years ago on Monday October 3, 2011 | Permalink
  6. w1nk5
    Member

    How can I update the price of individual options dynamically? Rather than simply manipulate the total price?

    Posted 12 years ago on Monday October 3, 2011 | Permalink
  7. w1nk5
    Member

    How can I use gform_field_value_$parameter_name to dynamically fill the values for a multiple choice price option field?

    All the examples I can find of gform_field_value_$parameter_name are using single value form fields. How do we use this to fill a multi-value form field like a multiple choice or dropdown-box.

    Posted 12 years ago on Monday October 3, 2011 | Permalink
  8. The gform_field_value_$parameter_name would be used to pre-select the option, not to change it's price. I am not 100% sure this can be done, but it would have to be done using jQuery. I am willing to give it a shot and point you in the right direction if you can export your form (by going to Forms-> Settings -> Import/Export) and email the exported XML to me (alex@rocketgenius.com). Please be sure to reference this post in the email.

    Posted 12 years ago on Monday October 3, 2011 | Permalink
  9. Did this thread ever get resolved ?

    i have a form that i want to populate with dynamic values depending on the product chosen is there a way to do this ? It includes over 10 select drop downs and would need each one to use pre defined values pulled from a wordpress page with php ? Can i pass the php variable to gravity forms on a per product basis so essentially dynamic and updatable by the client at the back end ?

    Posted 11 years ago on Thursday July 12, 2012 | Permalink