Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Problems and bugs
 CartSpecialhandling
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

manilow
VP-CART New User

France
134 Posts

Posted - February 20 2012 :  05:12:19  Show Profile  Visit manilow's Homepage  Reply with Quote
In the CartSpecialhandling subroutine, the new cart array is saved before the cartcount session value is reset. This generates an error.

The cart array is saved in a session value by the ResponseCookiesCart subroutine in shopcookieless.asp. A for-next loop uses the cartcount value which value is still the old one.

In shopCartSpecialHandling.asp the cartcount session value should be set first:

'set cartcount first, then save cartArray
SetSess "cartcount",newcartcount
SetSessA "cartarray",newcart

This same error may happen in other files ?

Erik
www.AquaThermia.com
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00