cart->get_cart() ) > 0 ) { $i = 1; foreach ( $woocommerce->cart->get_cart() as $cart_item_key => $cart_item ) { $_product = apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); $product_id = apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key );//fail if ($_product && $_product->exists() && $cart_item['quantity'] > 0) { ?>
   
get_image('shop_thumbnail', array('class' => '@image.classNames')), $cart_item, $cart_item_key ); /*@image.effects.dataAttrs*/ ?> @include("itemName") customer->is_vat_exempt() ? $_product->get_price_excluding_tax() : $_product->get_price(); echo apply_filters('woocommerce_cart_item_price_html', woocommerce_price( $product_price ), $cart_item, $cart_item_key ); ?> is_sold_individually() ) { $product_quantity = sprintf( '1 ', $cart_item_key); } else { $data_min = apply_filters( 'woocommerce_cart_item_data_min', '', $_product ); $data_max = ( $_product->backorders_allowed() ) ? '' : $_product->get_stock_quantity(); $data_max = apply_filters( 'woocommerce_cart_item_data_max', $data_max, $_product ); $product_quantity = sprintf( '
', theme_wc_quantity_buttons_supported() ? 'text' : 'number', $cart_item_key, $data_min, $data_max, esc_attr( $cart_item['quantity'] )); } echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key ); ?>
cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); ?> cart->get_remove_url( $cart_item_key ) . '&_wp_http_referer=' . urlencode($woocommerce->cart->get_cart_url())); echo apply_filters( 'woocommerce_cart_item_remove_link', sprintf( '', $href, __('Remove this item', 'woocommerce'), esc_attr($product_id), esc_attr($_product->get_sku()) ), $cart_item_key); ?>