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.

Order form help...

  1. epicwebsolutions@gmail.com
    Member

    How can I remove the price and price per unit from my form? My form is basically an order form. I have 4 products that are feel and there is no need for a price. also is there a way to load the product list from a custom post type?

    Posted 6 years ago on Tuesday December 11, 2012 | Permalink
  2. Please provide a link to your form and we will help you hide those elements.

    To populate any field, you can use the gform_pre_render filter, to change the data before the form is displayed: http://www.gravityhelp.com/documentation/page/Gform_pre_render

    Posted 6 years ago on Tuesday December 11, 2012 | Permalink
  3. epicwebsolutions@gmail.com
    Member

    My test form is here... http://rfgfoodservice.com/?page_id=48.

    I would also like to display an image next to the title. Can I do that from the html field?

    Posted 6 years ago on Tuesday December 11, 2012 | Permalink
  4. You can hide the product label and value with this CSS. Add this to your theme's stylesheet:

    [css]
    body .gform_wrapper span.ginput_product_price,
    body .gform_wrapper span.ginput_product_price_label {
      display: none;
    }
    
    body .gform_wrapper span.ginput_quantity_label {
      margin-left: 0px;
    }

    I used the last 3 lines to override the left margin on the "Quantity" label after removing those 2 options above.

    If that fixes the display issue, please go ahead with your next question. We'll work on one problem at a time. Thank you.

    Posted 6 years ago on Tuesday December 11, 2012 | Permalink
  5. epicwebsolutions@gmail.com
    Member

    That does fix the display issue on the front end. Any way to remove unit price and total price from the entries screen? I dont see a class assigned on the entries screen for those cols,

    Posted 6 years ago on Tuesday December 11, 2012 | Permalink
  6. epicwebsolutions@gmail.com
    Member

    Is there away to see the order entries any other place outside of the admin control panel. I would like the users to be able to see their order history.

    Posted 6 years ago on Tuesday December 11, 2012 | Permalink
  7. epicwebsolutions@gmail.com
    Member

    Can anyone help me with this issue?

    Posted 6 years ago on Wednesday December 12, 2012 | Permalink
  8. @epicwebsolutions, you've asked several unrelated questions here. How do you want to display the orders? You can always retrieve the data direct from the database, but then displaying it is up to you. In the past, I have written a shortcode function to pull specific entries from the database for display on the front end. Here is one example of how to do it http://pastebin.com/kHpaHQvi

    That was a very specific use shortcode. You can use that as an example and modify it for your needs.

    Posted 6 years ago on Wednesday December 19, 2012 | Permalink