%s',
esc_url(wc_get_cart_remove_url($cart_item_key)),
esc_attr__('Remove', 'elessi-theme'),
esc_attr($product_id),
esc_attr($cart_item_key),
esc_attr($_product->get_sku()),
esc_html__('Remove', 'elessi-theme'),
esc_attr__('Remove', 'elessi-theme')
), $cart_item_key);
?>
';
$wrap = false;
$quantily_show = true;
// $quantily_show = false;
if ($_product->is_sold_individually()) :
$product_quantity = sprintf('
', $cart_item_key);
else :
$wrap = true;
$product_quantity = woocommerce_quantity_input(
array(
'input_name' => 'cart[' . $cart_item_key . '][qty]',
'input_value' => $cart_item['quantity'],
'max_value' => $_product->get_max_purchase_quantity(),
'min_value' => '0',
'product_name' => $product_name
),
$_product,
false
);
endif;
echo $wrap ? '
' : '';
echo apply_filters('woocommerce_cart_item_quantity', $product_quantity, $cart_item_key, $cart_item); // PHPCS: XSS ok.
echo apply_filters('woocommerce_widget_cart_item_quantity', '
' . ($quantily_show ? sprintf('%s × %s', $cart_item['quantity'], $product_price) : sprintf('× %s', $product_price)) . '
', $cart_item, $cart_item_key);
echo $wrap ? '
' : '';
/**
* Sub Total
*/
echo '
';
echo apply_filters('woocommerce_cart_item_subtotal', WC()->cart->get_product_subtotal($_product, $cart_item['quantity']), $cart_item, $cart_item_key);
echo '
';
echo '
';
endif;
?>