Hiding prices when using products and open donation

  • uwghform
    Asked on February 10, 2021 at 11:19 AM

    Hi, I am trying to create a form with set donation amount options and an open donation field. I have used the instructions here https://www.jotform.com/answers/1162632-How-can-I-sell-products-and-ask-for-donations-on-a-single-form many times and it has worked. This time, however, I am having an issue.

    When the product list layout is set to "single column" the CSS does what it is meant to and removes the prices other than in the product name. But, I want the product layout set to three columns and when I do that, it shows correctly in the form builder, but the actual form still shows the prices below. Is there a different piece of CSS we should use to make this work in the three column layout?

    In the form builder it looks correct:

    1612973673 60240669d02e3  Screenshot 10 But in the live form, the prices are showing where the CSS should have hidden them:

    1612973929 60240769465a8  Screenshot 21

  • Bojan Support Team Lead
    Replied on February 10, 2021 at 2:28 PM

    Greetings.

    Instead of the CSS you are currently using, please try the following one:

    .form-product-details {
      display: none !important;
    }

    Let us know if this resolved your problem.

  • uwghform
    Replied on February 10, 2021 at 2:34 PM

    Yes, it worked. Thank you very much!