Do you want to show total number of products in cart and you are using wp e-commerce plugin for your shopping cart? like you want to do “2 Items in your shopping cart.” How to get this number 2?
Solution to get total number of products in wp ecommerce plugin in wordpress.
Edit your theme file where that line is written and replace 2 with the following line of code which is wordpress e-commerce plugin function to get total number of products.
[code]<?php echo(wpsc_cart_item_count()); ?>[/code]
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?