class=""> >
| 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() ); ?> | |