Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Displaying cart quantity
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

neoshady
Starting Member

27 Posts

Posted - October 28 2010 :  20:56:40  Show Profile  Reply with Quote
I'm trying to display the number of items in cart only away from the default placement, but not having much luck, I'm using <%=xnavigateminicart()%> the manual says I can place inside any html, but if i put it is shoppagefront.htm, the code errors.

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - October 30 2010 :  05:10:49  Show Profile  Reply with Quote
xnavigateminicart is a config in control panel to turn on / off the mini cart. I don't think it is meaning as a code function like you put it as <%=xnavigateminicart()%> absolutely wrong.

You will need to write custom code to display total of cart item in the .asp file.

THe code would look like e.g. :

Dim scartItem, arrCart

arrCart = GetSessA("CartArray")
scartItem = GetSess("CartCount")

response.write scartItem

scartItem is the total items in cart, you can display it.

If the code not work, you can contact their support as always the best to ask for.

Diego.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00