HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/public_html/wp-content/plugins/woodmart-plus/template/loop/carousel-layout-2.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
global $product;

?>
<style>
	.added_to_cart.wc-forward
	{
		display: none !important;
	}
</style>
<?php
echo apply_filters(
	'woocommerce_loop_add_to_cart_link', // WPCS: XSS ok.
	sprintf(
		'<a href="%s" data-quantity="%s" class="%s btn_shop btn solid small arams-btn-add-to-cart" %s><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" role="img" > <path d="M3 4h2l.7 3L7 15h9.8a2 2 0 0 0 1.95-1.56l1.5-6.44A1 1 0 0 0 19.3 6H5.7" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/> <circle cx="9" cy="19" r="1.6" fill="currentColor"/> <circle cx="17" cy="19" r="1.6" fill="currentColor"/> <circle cx="18.5" cy="5.5" r="3" fill="currentColor" opacity=".2"/> <text x="18.5" y="6.15" text-anchor="middle" font-size="3.4" font-family="inherit" fill="currentColor" style="font-weight:700">3</text> </svg><p>%s</p></a>',
		esc_url( $product->add_to_cart_url() ),
		esc_attr( isset( $args['quantity'] ) ? $args['quantity'] : 1 ),
		esc_attr( isset( $args['class'] ) ? $args['class'] : 'button' ),
		isset( $args['attributes'] ) ? wc_implode_html_attributes( $args['attributes'] ) : '',
        esc_html__('افزودن به سبدخرید','woodmartplus'),
	),
	$product,
	$args
);