Display Cart on Pages

General ShopSite user discussion
Post Reply
malljess
Posts: 50
Joined: Sat Oct 22, 2011 7:38 am

Display Cart on Pages

Post by malljess »

I am attempting to display the subtotal costs of the products on my moreinfo and search pages. I placed the code in the appropriate places; however, regardless of the contents of the cart it states "0 items" next to a shopping card. I have tried a number of changes in the code but the contents of the cart remains 0. When you click on the 0 items link, it goes to the cart. So the problem is reading the contents of the cart and displaying the subtotal cost on the page.

Please advise.

this is what is on the website
(picture of cart) 0 Items

regardless of what is in the cart
robm
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut
Contact:

Re: Display Cart on Pages

Post by robm »

Is the domain where your moreinfo pages are the same as the shopping cart? If not, it will not work, as it uses cookies, and the cookie must be on the same domain as the cart.

If it is the same URL, then verify you enabled the mini-cart under:
Commerce Setup -> Order System -> Layout Info -> "Mini Shopping Cart:"

If it's still not working, let us know a URL where we can see the page/mini-cart.

Rob
LexiConn
[url=http://lexiconn.com]ShopSite Host[/url]
[url=http://lexiconn.com/whitepapers.html]How to Get the Most Out of ShopSite[/url]
Post Reply