cart->get_cart(), -3); $woo_cart = array_reverse($woo_cart); ?>
0 ) { ?> $cart_item ) : $_product = $cart_item['data']; // Only display if allowed if ( ! apply_filters('woocommerce_widget_cart_item_visible', true, $cart_item, $cart_item_key ) || ! $_product->exists() || $cart_item['quantity'] == 0 ) continue; // Get price $product_price = get_option( 'woocommerce_tax_display_cart' ) == 'excl' ? $_product->get_price_excluding_tax() : $_product->get_price_including_tax(); $product_price = apply_filters( 'woocommerce_cart_item_price_html', woocommerce_price( $product_price ), $cart_item, $cart_item_key ); $product_link = get_permalink( $cart_item['product_id'] ); ?>
get_image(); ?>
get_title(), $_product, $product_link ); ?> ' . sprintf( '%s × %s', $cart_item['quantity'], $product_price ) . '
', $cart_item, $cart_item_key ); ?>
cart->get_item_data( $cart_item ); ?>
View shopping cart Proceed to Checkout