' . alpha_strip_script_tags( $product_name ) . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
endif;
echo wc_get_formatted_cart_item_data( $cart_item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
if ( ! alpha_get_option( 'cart_show_qty' ) ) {
$product_quantity = $cart_item['quantity'];
} else {
$product_quantity = sprintf(
'',
$cart_item_key,
$cart_item['quantity'],
1,
$_product->get_max_purchase_quantity() > 0 ? $_product->get_max_purchase_quantity() : 1000000,
ALPHA_ICON_PREFIX
);
}
echo apply_filters( 'woocommerce_widget_cart_item_quantity', '' . sprintf( '%s × %s', $product_quantity, $product_price ) . '', $cart_item, $cart_item_key ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
?>
' . $thumbnail . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
endif;
?>
',
esc_url( wc_get_cart_remove_url( $cart_item_key ) ),
esc_attr__( 'Remove this item', 'alpus' ),
esc_attr( $product_id ),
esc_attr( $cart_item_key ),
esc_attr( $_product->get_sku() )
),
$cart_item_key
);
?>