View Full Version : javascript cart display doesnt update
Hi
Im using the javascript display cart items/value script in the AUGv6, Ive found that when a sale has gone through, the items remain in that javscript readout, although cart is now empty.
I cant see any other threads on this, but Im sure someone must have had this happen too, and knows a solution, is it you?
thanks in advance
0ad
chrisbrown
11-Sep-2003, 04:01 PM
Your problem may well be the same as was discussed in this thread (http://community.actinic.com/showthread.php?s=&threadid=1063).
The final solution to that problem is described in this KB article (http://www.actinic.com/knowledge/acatalog/v6_Viewing_the_Online_Store.html#aGC119).
Thank you Sir
Thats exactly what I needed, Brilliant! I did search the KB and forum - honest - I just got the wording wrong.
Thank you again
All the best
Justn:D
Cheers Chris
But it didnt work, and looking at Powerleaps site from the other thread, it didnt work for them either.
Oh well, Im sending the customer to <domain>/cgi-bin/ca000013.pl?ACTION=SHOWCART to get around it, they'll have to find their own way home :p
All the best
jsutn
chrisbrown
12-Sep-2003, 10:29 AM
I discovered that for us we had to leave out the "www." bit of the domain.
#
# Print cart cookies
#
if ($sCartCookie ne '')
{
print "Set-Cookie: " . $sCartCookie . # set the cookie
"; EXPIRES=" . $sCartExpiry .
"; PATH=/; domain=morestage.com; \r\n"; # CDB domain=morestage.com added to cope with acatalog and cgi-bin on different servers
$bCookieIsSent = $::TRUE; # a cookie is appended to the response
}
Thanks Chris
But no, that didnt work either, my gut feeling is that (as with Powerleaps) my cgi-bin is not only on a different server, its also SSL.
I have renamed ca0000xx.pl to xx0000xx.pl and the 'done' redirect goes to <domain>/cgi-bin/xx0000xx.pl?action=showcart - showing the cart contents empty and resetting the cart cookie - my next plan is to add a meta refresh to that to go 'home' after a second or two.
Unfortunately Im not clever enuff to do that at the moment :confused:,
Thanks all the same Chris, like the local says around here ' You is the Don '
justn
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.