Discussions
Reference Checkout 2.03 - How to get the cart item count?
What is the "correct" way of getting the cart item count on a custom script that runs on index.ssp ?
I understand that the cart item count is in the cart summary, but I need to show it when that is not available, like when logging in via RC 2.03 AND I'm showing it at a different location on index.ssp than within the cart summary module.
On index.ssp you can use some of the normal Web Site Tags, like getPageHeadFull(), but the documentation, and testing on the page, indicates that getCartItemCount() does not work.
I've been trying various methods of getting the field values for the items in the order and then loop through and add up the quantities. But I haven't come up with the right code or calls I should be using.