<?php echo lang('totals'); ?> </td> <td class="text-center"> <?php echo lang('product_action'); ?> </td> </tr> </thead> <tbody> <?php $cartItems = GC::getCartItems(); $options = CI::Orders()->getItemOptions(GC::getCart()->id); $charges = []; $charges['giftCards'] = []; $charges['coupons'] = []; $charges['tax'] = []; $charges['shipping'] = []; $charges['products'] = []; foreach ($cartItems as $item) { if ($item->type == 'gift card') { $charges['giftCards'][] = $item; continue; } elseif ($item->type == 'coupon') { $charges['coupons'][] = $item; continue; } elseif ($item->type == 'tax') {