< class=""> >
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 ); $product_title = wp_kses_post( apply_filters( 'woocommerce_cart_item_name', $_product->get_name(), $cart_item, $cart_item_key ) ); $product_title_basic = $product_title; $product_permalink = apply_filters( 'woocommerce_cart_item_permalink', $_product->is_visible() ? $_product->get_permalink( $cart_item ) : '', $cart_item, $cart_item_key ); $product_image = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key ); if ( $product_permalink && $product_link_checkout_details ) { $product_image = sprintf( '%2s', esc_url($product_permalink), $product_image ); $product_title = sprintf( '%2s', esc_url($product_permalink), $product_title ); } if ( $_product && $_product->exists() && $cart_item['quantity'] > 0 && apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) ) { ?> cart->get_coupons() as $code => $coupon ) : ?> cart->needs_shipping() && WC()->cart->show_shipping() && apply_filters('etheme_checkout_form_shipping_methods', true) ) : ?> cart->get_fees() as $fee ) : ?> cart->display_prices_including_tax() ) : ?> cart->get_tax_totals() as $code => $tax ) : // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited ?>
colspan="2">
colspan="2"> '; ?>
'; if ( $product_quantity_checkout_details ) { remove_action('woocommerce_before_quantity_input_field', 'et_quantity_minus_icon'); remove_action('woocommerce_after_quantity_input_field', 'et_quantity_plus_icon'); add_action( 'woocommerce_before_quantity_input_field', 'etheme_woocommerce_before_add_to_cart_quantity_with_type', 10 ); add_action( 'woocommerce_after_quantity_input_field', 'etheme_woocommerce_after_add_to_cart_quantity_with_type', 10 ); $product_quantity = woocommerce_quantity_input( array( 'input_name' => "cart[{$cart_item_key}][qty]", 'input_value' => $cart_item['quantity'], 'max_value' => apply_filters('woocommerce_quantity_input_max', $_product->get_max_purchase_quantity(), $_product), 'min_value' => apply_filters('woocommerce_quantity_input_min', 0, $_product), 'product_name' => $_product->get_name(), ), $_product, false ); remove_action( 'woocommerce_before_quantity_input_field', 'etheme_woocommerce_before_add_to_cart_quantity_with_type', 10 ); remove_action( 'woocommerce_after_quantity_input_field', 'etheme_woocommerce_after_add_to_cart_quantity_with_type', 10 ); add_action('woocommerce_before_quantity_input_field', 'et_quantity_minus_icon'); add_action('woocommerce_after_quantity_input_field', 'et_quantity_plus_icon'); echo apply_filters( 'woocommerce_checkout_cart_item_quantity', str_replace('{{quantity_type}}', $product_quantity_style_checkout_details, $product_quantity), $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } else echo apply_filters( 'woocommerce_checkout_cart_item_quantity', ' ' .$cart_item['quantity'] . '', $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo ' × ' . apply_filters( 'woocommerce_cart_item_price', WC()->cart->get_product_price( $_product ), $cart_item, $cart_item_key ); echo ''; ?>
cart->get_product_subtotal($_product, $cart_item['quantity']), $cart_item, $cart_item_key)); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
%s', esc_url(wc_get_cart_remove_url($cart_item_key)), /* translators: %s is the product name */ esc_attr( sprintf( __( 'Remove %s from cart', 'xstore' ), $product_title_basic ) ), esc_html__('Remove', 'xstore') ), $cart_item_key); ?>
'; ?>
cart->get_product_subtotal( $_product, $cart_item['quantity'] ), $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
name ); ?>
label ); ?> formatted_amount ); ?>
countries->tax_or_vat() ); ?>