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.

Bug report: enabling products with conditional logic via product options

  1. I believe this change in behaviour was introduced in v1.6.3 (or newer) and is still present in 1.6.4b1.

    Scenario:
    A form has one or more products. These products have 'product options' associated with them in the form of check boxes. Ticking these product options will enable various other products to be displayed.

    For example, [product 1] has an option [product 1 option], using conditional logic, when you tick [product 1 option] then [product 2] is enabled (conditional logic is setup in product 2).

    Problem:
    In the form, after enabling and selecting the second product, the total price is updated accordingly (showing the sum of product 1 and 2). However, upon submission, only product 1 is submitted and the total price only shows the total for product 1 (product 2 was not submitted at all).

    In previous versions of Gravityforms (I believe before 1.6.3) this functionality worked fine and both products were shown after submission.

    Workaround:
    For basic scenarios it is possible to replace the product options with generic check boxes. Doing this, both products are submitted as expected.

    For more advanced cases, where the product options perform additional functionality related to the product, it is not as simple to work around this.

    I was able to duplicate this on multiple forms and with multiple versions of gravityforms. The products were of type dropdown. I am uncertain whether this is a factor. For my current use, I have been able to workaround the problem however I still thought it was appropraite to report this behaviour here.

    Posted 11 years ago on Friday April 27, 2012 | Permalink
  2. I second that. I tried using a conditional based off of a product option and it didn't work. If I used a normal checkbox, the conditionals showed up correctly.

    Posted 11 years ago on Thursday May 17, 2012 | Permalink
  3. Can you guys export your forms and send the XML files to me to rob@rocketgenius.com so I can take a look at them. Also, please reference this post in your email. Thanks!

    Posted 11 years ago on Thursday May 17, 2012 | Permalink