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.

Total sum not working in confirmation email

  1. Hi,

    in the confirmation email the shortcode for the calculated total sum - in my case {Summe:8} leaves a blank.
    So in the form the total sum is displayed correctly but in the email there is nothing stated.

    As this is an order form it is crucial to have the total sum included in the confirmation email. I hope we can fix this.

    I am using GF 1.5.2.8

    Br, Andreas

    Posted 13 years ago on Tuesday August 9, 2011 | Permalink
  2. I just did a quick test by creating a form using a Product, Option and Total field and then configuring the notification to output the Total individually below where I output all the fields. It worked as intended. See this screenshot: http://i.imgur.com/9Yvxp.png

    The first question I would ask is are you using a Product Field on your form or are you only using Option Fields? A common mistake users make is they only use Option Fields, which appears to work because the Total increments but in fact Option Fields are options of Products so if there is no Product Field they have nothing to attach themselves too.

    I would check to make sure you are using at least one Product Field.

    In Gravity Forms v1.6 you won't be able to add an Option Field to your form unless a Product Field exists because Options are options of a product. Think of size and color, they don't exist without the product itself.

    Based on what you described that is my first guess, as I don't know how the form is configured that is about the best I can do without additional information on the form setup or seeing the form setup firsthand.

    Posted 13 years ago on Tuesday August 9, 2011 | Permalink
  3. Thanks but I have a (single) product field + option + shipping.

    I think we are talking about different emails. The sum is working in the admin (HTML) email where it is placed due to {all_fields}.

    It is not working in the notification email for the visitor which is sent as plain text and created using {Summe:8}. You should see that by modifying your test setup slightly.

    Posted 13 years ago on Tuesday August 9, 2011 | Permalink
  4. If you look at my screenshot you'll see just below the {all_fields} output there is additional text that says Total: $24.00. This was created using the merge tag for the Total field. It worked in my test.

    Posted 13 years ago on Tuesday August 9, 2011 | Permalink
  5. I don't know what you mean with merge tag but it is not working for me.
    In the HTML email the ticket seller gets, the sum is there using the {all_fields} shortcode but NOT when using the {Summe:8} shortcode for the sum field.

    In the text email the ticket buyer gets as confirmation {Summe:8} also does not work.

    What can I do to help fix this bug?

    Posted 13 years ago on Monday August 29, 2011 | Permalink
  6. @ostheimer At this point we don't know if it's a bug or something specific with your site or form setup. As mentioned above i'm unable to reproduce this issue. The total merge tag both by itself and used in conjunction with the {all_fields} merge tag is working as intended in all of my tests.

    In order to determine what is going on we would need a WordPress admin login for your site so that we can test with your form and site setup. You can send this information to me directly at carl@rocketgenius.com. Be sure to include the site URL, admin login, the name of the form and reference this forum post so I know what it is about.

    Posted 13 years ago on Monday August 29, 2011 | Permalink
  7. Thanks for that offer, I sent you the requested data.

    Posted 13 years ago on Monday August 29, 2011 | Permalink
  8. Hi,

    the website is online and I'd really need this feature to work - any news?

    Thanks,
    Andreas

    Posted 13 years ago on Sunday September 4, 2011 | Permalink
  9. Hi,

    I sent you the requested data 2 weeks ago an my client requests this feature. Please help me out with this bug at my website.

    Thanks,
    Andreas

    Posted 13 years ago on Wednesday September 21, 2011 | Permalink
  10. I had emailed you this information previously, you should have received it via email. It has been resent. I also went ahead and re-created my Test Form and did my test once against to verify. I am unable to reproduce the issue you describe, even on your site.

    I created a brand new test form on your site and submitted the form. The entry that was created and the notification I received both contained the Total as expected. I have included screenshots below.

    Test Form Entry:
    http://i.imgur.com/U7Wdp.png

    Test Form Entry Email Notification:
    http://i.imgur.com/wDzFU.png

    Then I tested with your form. I'm simply not seeing the issue you are describing. The Total field (Summe) is displaying in the entry and the email notifications. I have included screenshots below. These are from your site using your form. I briefly changed the Admin Notification to send to my email account.

    You will see that in the User Notification the Summe is output and it is also present in the Admin Notification as well as on the Entry Detail page itself. When I look at the Entries for other form submissions for that form the Summe is always present.

    Ticketformular Form:
    http://i.imgur.com/CmA2N.png

    Ticketformular Email USER Notification:
    http://i.imgur.com/Cp1oA.png

    Ticketformular Email ADMIN Notification:
    http://i.imgur.com/JZd4W.png

    Ticketformular Entry:
    http://i.imgur.com/JoXnL.png

    Posted 13 years ago on Wednesday September 21, 2011 | Permalink
  11. If you look at the other 50 entries at http://www.key2life.at/wp-admin/admin.php?page=gf_entries&view=entries&id=1 you see that only your entry has the "Summe" displayed. So how did you do that?

    http://imgur.com/muSc3

    What is the difference between you using the form and all the others? There have been over 50 entries (by different people) as you can see and only you manage to have the sum displayed...I am confused.

    Posted 13 years ago on Wednesday September 21, 2011 | Permalink
  12. This appears to be a web server specific issue. When I export your form and import it locally and then submit a test via Preview and a test with the form embedded on a test page on my site I don't encounter this issue. The total appears correctly, including in the entry list page. See this screenshot (one was from preview and the other was not, both look correct): http://i.imgur.com/4btFc.png

    In order to debug this further we would have to do it directly on the web server experiencing this issue. We've never had this issue reported by any other users so we would have to debug the code directly to determine what is going on.

    I have received the FTP information you sent me and we will look into this issue and debug it on the server.

    Posted 13 years ago on Wednesday September 21, 2011 | Permalink
  13. Did you make progress with this issue?
    I am asking because my customer is as well.

    Thanks,
    Andreas

    Posted 13 years ago on Friday September 23, 2011 | Permalink
  14. The issue is as we suspected, poor practices in the ThemeForest theme you are using.

    The specific issue is this file:

    striking/framework/shortcodes/typography.php

    This code disables automatic formatting on posts. This sounds good, but unfortunately it has the side effect of then applying automattic formatting to *ALL* shortcode output.

    Why is this bad? Because WordPress does not apply automatic formatting to shortcode output by default so it's unexpected behavior and can break things. Which is exactly what has happened in your situation.

    You would have to remove that functionality in order to correct your problem.

    I am also going to get in touch with my ThemeForest contact to show him this issue and strongly suggest they have it removed from existing themes and disallow future themes from including it. It's destructive.

    Posted 13 years ago on Thursday October 6, 2011 | Permalink
  15. Carl Hancock, I seem to be having the same issue with my form. The Total is showing up in the preview, but it's not transferring over into the notification to myself, the owner and to the purchaser. Carl is it possible to have you look at this for me?

    I'm running the Dynamix theme.

    Posted 12 years ago on Tuesday May 8, 2012 | Permalink