perch_shop_cart_item_count()
Get a count of the number of items currently in the cart with perch_shop_cart_item_count()
.
Requires
- Perch Shop installed
Usage examples
Get a count of the number of items currently in the cart.
perch_shop_cart_item_count();