VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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-ASP Expert

Argentina
723 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