Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- global $Item, $Order;
- $co_id = $Order -> cart_order();
- $item_count = $Item -> item_count($co_id, 'items');
- if (!empty($item_count) && $item_count > 0) {
- //there are items in the cart
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement