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.

How to apply discount for two or more products

  1. Hi Gravity

    I need to develop a form for my client where a discount is applied when two or more products are purchased. The client sells professional workshops. If the attendee books for two or more workshops, a discounts shoud be applied. If only one workshop is booked, no discount is applied.

    Please see the demo I have online here: http://www.psychworkshops.co.za/cpd-workshops-and-training/new-form-test-page/

    In Bloemfontein, there will be three workshops. If they book for two workshops, a discount should apply.

    However, in Johannesburg, there wil be a lot of workshops (7-10). If two or more are booked for that city, a discount should also apply. Again though, if only one workshop is booked, no discount should apply. (I've not got any courses up for the other cities, just Bleomfontein for now.

    Is there a way to do this, or can you suggest a workaround to get it to work?

    Posted 12 years ago on Sunday December 16, 2012 | Permalink
  2. David Peralty

    We don't have a way to do this currently in Gravity Forms and as such this would require a customization beyond what we can provide on the support forums.

    Most likely some custom JavaScript would have to be written to count the check boxes, and then show a Product with a negative value to discount the current total.

    If you would like, we have a Job Board where you could post and a developer could provide you with a customization to do this.

    Posted 12 years ago on Monday December 17, 2012 | Permalink