HEX
Server: Apache
System: Linux webm003.cluster111.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: assotraipi (849654)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/assotraipi/www/wp-content/plugins/download-monitor/templates/shop/button/add-to-cart.php
<?php
/**
 * Add to cart button
 *
 * More info on overriding template files can be found here: https://www.download-monitor.com/kb/overriding-content-templates/
 *
 * @version 5.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
} // Exit if accessed directly

/** @var \WPChill\DownloadMonitor\Shop\Product\Product $product */
/** @var string $atc_url */
?>
<a class="aligncenter download-button" href="<?php
echo esc_url( $atc_url ); ?>" rel="nofollow">
	<?php
	printf( esc_html__( 'Purchase &ldquo;%s&rdquo;', 'download-monitor' ), esc_html( $product->get_title() ) ); ?>
	<small><?php
		echo esc_html( dlm_format_money( $product->get_price() ) ); ?>
		<?php
		$excerpt = $product->get_excerpt();
		if ( ! empty( $excerpt ) ) {
		?>
		- <?php
		$product->the_excerpt(); ?></small>
<?php
}
?>
</a>