| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/lemans/components/com_djcatalog2/views/cart/tmpl/ |
Upload File : |
<?php
/**
* @package DJ-Catalog2
* @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
*/
defined('_JEXEC') or die('Restricted access');
use Joomla\CMS\Factory;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Helper\ModuleHelper;
Joomla\CMS\HTML\HTMLHelper::_('behavior.keepalive');
$user = Factory::getUser();
?>
<?php if ($this->params->get('cart_enabled', '1') == '1') { ?>
<div class="djc_checkout_progress djc_clearfix <?php echo (Factory::getUser()->guest && !($this->params->get('cart_registered', '1') == '0' && $this->params->get('cart_skip_login', '0') == '1')) ? 'steps-3' : 'steps-2' ?>">
<div class="djc_checkout-step djc_checkout-step-1 active">
<a href="<?php echo Route::_(DJCatalog2HelperRoute::getCartRoute()); ?>"><?php echo Text::_('COM_DJCATALOG2_CHECKOUT_STEP_CART'); ?></a>
</div>
<?php if (!($this->params->get('cart_registered', '1') == '0' && $this->params->get('cart_skip_login', '0') == '1')) { ?>
<div class="djc_checkout-step djc_checkout-step-2">
<span><?php echo Text::_('COM_DJCATALOG2_CHECKOUT_STEP_CART_LOGIN'); ?></span>
</div>
<?php } ?>
<div class="djc_checkout-step djc_checkout-step-3">
<span><?php echo Text::_('COM_DJCATALOG2_CHECKOUT_STEP_CART_CHECKOUT'); ?></span>
</div>
</div>
<?php } ?>
<?php //if ($this->params->get( 'show_page_heading', 1)) { ?>
<h1 class="componentheading<?php echo $this->params->get('pageclass_sfx') ?>">
<?php echo $this->escape($this->params->get('page_heading')); ?>
</h1>
<?php //} ?>
<div id="djcatalog"
class="djc_cart<?php echo $this->params->get('pageclass_sfx') . ' djc_theme_' . $this->params->get('theme', 'default') ?>">
<?php if (count($this->items) > 0) { ?>
<div class="djc_cart djc_clearfix">
<?php echo $this->loadTemplate('table2'); ?>
</div>
<?php } else { ?>
<p class="djc_empty_cart"><?php echo Text::_('COM_DJCATALOG2_CART_IS_EMPTY'); ?></p>
<?php } ?>
<div class="djc_cart_actions">
<?php if (count($this->items) > 0) { ?>
<?php if ($this->params->get('cart_coupons', 0) && $this->params->get('cart_enabled', 1)) { ?>
<?php echo $this->loadTemplate('coupon'); ?>
<?php } ?>
<?php if ($this->params->get('cart_continue_btn')) {?>
<a class="btn btn-primary djc_continue_shopping_btn"
href="<?php echo Route::_('index.php?Itemid=' . $this->params->get('cart_continue_btn')); ?>"><?php
echo Text::_('COM_DJCATALOG2_CONTINUE_SHOPPING');
?></a>
<?php } ?>
<?php if ($this->params->get('cart_query_enabled', '1') == '1') { ?>
<form action="<?php echo Route::_(DJCatalogHelperRoute::getQueryRoute()); ?>" method="post" class="form form-inline djc_cart_proceed djc_cart_proceed_query">
<input type="submit" value="<?php echo Text::_('COM_DJCATALOG2_PROCEED_TO_CONTACT_FORM'); ?>"
class="btn btn-primary button btn-success djc_query_btn" role="button"/>
<input type="hidden" name="option" value="com_djcatalog2"/>
<input type="hidden" name="task" value="cart.query"/>
<?php echo Joomla\CMS\HTML\HTMLHelper::_('form.token'); ?>
</form>
<?php } ?>
<?php if ($this->params->get('cart_enabled', '1') == '1') { ?>
<form action="<?php echo Route::_(DJCatalogHelperRoute::getCheckoutRoute()); ?>" method="post" class="form form-inline djc_cart_proceed djc_cart_proceed_checkout">
<input type="submit" value="<?php echo Text::_('COM_DJCATALOG2_CONFIRM_CART'); ?>"
class="btn btn-primary button btn-success djc_checkout_btn" role="button"/>
<input type="hidden" name="option" value="com_djcatalog2"/>
<input type="hidden" name="task" value="cart.checkout"/>
<?php echo Joomla\CMS\HTML\HTMLHelper::_('form.token'); ?>
</form>
<?php } ?>
<?php } ?>
</div>
<?php
$cart_modules = ModuleHelper::getModules('djc2_cart_bottom');
$output = '';
if (!empty($cart_modules)) {
foreach ($cart_modules as $module){
$output .= ModuleHelper::renderModule($module);
}
}
if ($output) {
echo '<div class="djc_cart_modules">'.$output.'</div>';
}
?>
<?php if($this->params->get('cart_related_accessories') && !empty($this->related_accessories)) : ?>
<?php echo $this->loadTemplate('related_accessories'); ?>
<?php endif; ?>
</div>