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.

2 Total Prices. 1 Normal, 1 a %

  1. I'm trying to setup 2 total prices. 1 will be the normal total and i want to display a total price that is 80% of the normal total. So 2 totals will be displayed. Anyone have any idea how to do this? I'm guessing i need to create some custom php/js and put in the functions file? or can this be done off the shelf with GF?

    Link to for if any use: http://www.laptopswapshop.com/get-a-laptop-quote/

    Cheers

    Posted 11 years ago on Tuesday December 4, 2012 | Permalink
  2. What will happen with the 80% total? Do you just need to show that on screen before the form is submitted? If so, then you will need some JavaScript to perform the calculation.

    Posted 11 years ago on Thursday December 6, 2012 | Permalink
  3. Yes i would like to show normal total and 80% of total like this:

    http://docs.gomysites.com/LE4C/o

    So trade-in price would be normal total and cash would be 80% of main total.

    Posted 11 years ago on Thursday December 6, 2012 | Permalink
  4. I've found this old snippet of code i think Carl created some time ago

    http://pastie.org/5490325

    I've made some slight changes and it works perfect (i.e displays 80% of the total). But i can't also get it to display the normal total as well.

    Any ideas what i need to change to make it display both totals before submission of form?

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