|
|
|
|
|
Forum
|
|
|
Re:Order Form Calculate Totals (1 viewing) (1) Guests
Favoured: 0
|
|
|
TOPIC: Re:Order Form Calculate Totals
|
ChrisV (User)
Expert Boarder
Posts: 74
|
|
Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 5  
|
|
Hey all,
Not sure if anyone knows if there a workaround...
Looks like for custom forms hosted on your own web server, the Calculate Totals function (aka crossSiteAjaxFillDiv) isn't working anymore.
I've got a push on Monday and was hoping someone knew a workaround... (apart from me hand-coding the script to calculate the totals).
Thanks! Chris
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 3  
|
|
I found this out yesterday as well. I tried everything could not get it to work.
Chris... If you find a work around, PLEASE let me know AND I will do the same if I get one first. I will post here.
Thanks A Ton.
STEVE
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
ChrisV (User)
Expert Boarder
Posts: 74
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 5  
|
|
I gave up and wrote some javascript myself.
First I added a div inside the cell where the Payment totals are display (ie. div id="orderTotal").
Then I wrote a replacement calcTotal() function that:
1. Tests to see which of my two payment plans were selected.
2. Test to see if the billing country is Canada (we charge GST on all purchases up here in Canada)
3. Depending on 1 or 2, sets the text to display in the "orderTotal" div.
I've attached a snippet of my calcTotal replacement code. You'll need to modify it for your pay plans, your text and whether you want to test for a specific country. Don't forget to add the div to the order total spot in the form...
C.
|
|
|
|
|
|
|
Last Edit: 2009/08/31 04:25 By ChrisV.
|
|
|
The administrator has disabled public write access. |
ChrisV (User)
Expert Boarder
Posts: 74
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 5  
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
ChrisV (User)
Expert Boarder
Posts: 74
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 5  
|
|
In a strange twist, while I (and apparently Steve above) continue to experience the problem, support cannot replicate it and hence, no ticket.
It is strange - the same test web form I provided them (www.engageselling.com/test/form.html) worked for the agent while for me it continued to not calculate totals(on several machines). If you are looking for yourself on this test - see if you see anything under "Total Amount You Pay Right Now" on the form...
If you have this trouble on your own web forms and call support, you can reference my ticket number - 25404.
Thanks, Chris
|
|
|
|
|
|
|
The administrator has disabled public write access. |
miked (User)
Infusionite
Posts: 200
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 12  
|
|
It is possible that Support cannot replicate your problem because they are on an internal IP. crossSiteAjaxFillDiv was designed to work externally, but that might not be working.
I have created a ticket for our eCommerce Dev team to look into for you and pointed it at this thread.
|
|
|
|
|
|
|
"Marketing" Team Lead Software Engineer II
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 3  
|
http://www.qivantage.com/orderform.phpHere is page i made that shows the issue as well. and I have more if needed. Thanks Steve
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 3  
|
|
|
|
|
|
|
|
|
Last Edit: 2009/08/31 09:59 By InfusionPros.com.
|
|
|
|
|
|
The administrator has disabled public write access. |
ChrisV (User)
Expert Boarder
Posts: 74
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 5  
|
|
It's not working when I look at it...
Chris
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
Re:Order Form Calculate Totals 2 Months, 3 Weeks ago
|
Karma: 3  
|
|
Sorry Chis, You are right it is not working.
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access. |
|
|
|
|
|