| Server IP : 87.98.231.4 / Your IP : 216.73.217.178 [ Web Server : Apache System : Linux webm007.cluster103.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 : grupmartgn ( 667608) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/grupmartgn/elanartcrafts/components/com_virtuemart/sublayouts/ |
Upload File : |
<?php
/**
*
* loads the add to cart button
*
* @package VirtueMart
* @subpackage
* @author Max Milbers, Valerie Isaksen
* @link https://virtuemart.net
* @copyright Copyright (c) 2015 VirtueMart Team. All rights reserved.
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
* @version $Id: addtocartbtn.php 8024 2014-06-12 15:08:59Z Milbo $
*/
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
if ($viewData['orderable'])
{
?>
<input type="submit" name="addtocart" class="btn btn-success btn-block"
value="<?php echo vmText::_('COM_VIRTUEMART_CART_ADD_TO') ?>"/>
<?php
} else
{
?>
<input type="submit" name="addtocart" class="btn btn-outline-success btn-block"
value="<?php echo vmText::_('COM_VIRTUEMART_ADDTOCART_CHOOSE_VARIANT') ?>" disabled/>
<?php
}