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.

Price Total does not update automatically

  1. I have created a large order form; see: http://dev.cantuccini.be/bestellen/
    All Pricing Fields are of type "Product"; Field Type "Single Product". Each product has a price.

    When I change to Quantity to Total Price at the bottom does not update. What have I done wrong? Please help!

    Posted 11 years ago on Sunday August 12, 2012 | Permalink
  2. I think the calculation is probable not working due to the JavaScript error on the page:

    Timestamp: 8/13/2012 1:01:40 AM
    Error: TypeError: $ is not a function
    Source File: http://www.cantuccini.be/wp-content/themes/super-skeleton/assets/javascripts/filterable.pack.js
    Line: 5

    Once you resolve that, please post back and we'll take another look if the total is not updating still.

    Posted 11 years ago on Monday August 13, 2012 | Permalink
  3. I've contacted the Super Skeleton WP Theme author. This JS error probably also prevents the Datepicker from working in Chrome (Fine in IE btw)?

    On the topic of the Datepicker, the UI Stylesheet seems to be missing by default? Do I have to download it myself from the jQuery UI website?

    Posted 11 years ago on Monday August 13, 2012 | Permalink
  4. austinstone
    Member

    Hello,

    I have created a dynamic product order form here: http://spendthrift.co/scape/pricing/
    The user should be able to select different options to build the order, but the Total is not updating realtime.

    I am able to get the total when the form is submitted, I have already calculated the Total in the tax section, I have tested on Safari, Chrome, and Firefox, and have live previewed the Twenty-Ten WP theme, but I still can't get the total to work.

    If someone can help I would be much obliged!

    Posted 11 years ago on Tuesday November 27, 2012 | Permalink
  5. The total is not updating due to JavaScript errors on the page.

    Timestamp: 11/28/2012 6:18:00 PM
    Error: TypeError: element.html() is null
    Source File: http://spendthrift.co/scape/wp-content/plugins/gravityforms/js/gravityforms.js?ver=1.6.9
    Line: 421

    Does the total update normally when you view the form in the Form Preview?

    I also received an XHTML validation error:

    Line 89, Column 18835: Bad value for attribute value on element input: The empty string is not a valid floating point number.
    <input name='input_17' id='input_2_17' type='number' step='any' value='' class='medium' tabindex='28'   />

    Is there anything interesting about input 17 in your form? I don't know if that's related or not, but I've never seen that error related to a Gravity Form. Are you using HTML5 mode?

    Posted 11 years ago on Thursday November 29, 2012 | Permalink
  6. austinstone
    Member

    Chris,

    Thanks for your response, I am not familiar with JavaScript and would not know how to check or debug. I have tried different settings, I am currently on CSS, HTML5, and Non-Conflict Mode.

    I am going to be moving this develop site to the main site soon, how can I fix this or get help to fix this? If I have your email I would be willing to give you admin access if that helps.

    Thanks!

    Posted 11 years ago on Thursday November 29, 2012 | Permalink
  7. Does the total work properly when the form is displayed in the Form Preview mode?

    Posted 11 years ago on Thursday November 29, 2012 | Permalink
  8. austinstone
    Member

    Sorry to miss the question the first time, No the total does not work when the form is displayed in preview mode. -_-

    Posted 11 years ago on Thursday November 29, 2012 | Permalink
  9. Austin, please send a WordPress admin login to chris@rocketgenius.com and I will take a look at it for you. If you like, you can just export the form as XML and email that to me instead.

    Posted 11 years ago on Saturday December 1, 2012 | Permalink
  10. austinstone
    Member

    I have fixed the total, and now it updates in realtime.

    Apparently the bug was the shipping details on the page, also it was not letting me submit the form when other was selected (and text was entered).

    I have replaced it with a product "shipping" and now everything works:
    http://scapemastering.com/order

    Posted 11 years ago on Tuesday December 4, 2012 | Permalink
  11. Thank you for the update.

    Posted 11 years ago on Thursday December 6, 2012 | Permalink

This topic has been resolved and has been closed to new replies.