Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $subtotal = 0;
- foreach (uc_cart_get_contents() as $item) {
- $subtotal += $item->qty;
- }
- print $subtotal;
- ?> Items
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement