Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.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 : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/zenit/components/com_hikashop/views/checkout/tmpl/ |
Upload File : |
<?php
/**
* @package HikaShop for Joomla!
* @version 4.5.1
* @author hikashop.com
* @copyright (C) 2010-2022 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><?php
$cart = $this->checkoutHelper->getCart();
if(empty($this->ajax)) {
?>
<div id="hikashop_checkout_terms_<?php echo $this->step; ?>_<?php echo $this->module_position; ?>" data-checkout-step="<?php echo $this->step; ?>" data-checkout-pos="<?php echo $this->module_position; ?>" class="hikashop_checkout_terms hikashop_checkout_terms_<?php echo $this->module_position; ?>">
<?php } ?>
<div class="hikashop_checkout_loading_elem"></div>
<div class="hikashop_checkout_loading_spinner small_spinner"></div>
<?php
$this->checkoutHelper->displayMessages('terms_' . $this->step . '_' . $this->module_position);
$key = 'terms_checked_' . $this->step . '_' . $this->module_position;
if(!isset($cart->cart_params->$key))
$terms_checked = (!empty($this->options['pre_checked'])) ? 'checked="checked"' : '';
else
$terms_checked = (!empty($cart->cart_params->$key)) ? 'checked="checked"' : '';
?>
<input onclick="window.checkout.submitBlock('terms',<?php echo $this->step; ?>,<?php echo $this->module_position; ?>);" class="hikashop_checkout_terms_checkbox" id="hikashop_checkout_terms_checkbox_<?php echo $this->step; ?>_<?php echo $this->module_position; ?>" type="checkbox" name="checkout[terms_<?php echo $this->step; ?>_<?php echo $this->module_position; ?>]" value="1" <?php echo $terms_checked; ?> />
<?php
$text = $this->options['label'];
if(!empty($this->options['article_id'])) {
$popupHelper = hikashop_get('helper.popup');
$text = $popupHelper->display(
$text,
'HIKASHOP_CHECKOUT_TERMS',
JRoute::_('index.php?option=com_hikashop&ctrl=checkout&task=termsandconditions&step='.$this->step.'&pos='.$this->module_position.'&tmpl=component'),
'shop_terms_and_cond',
(int)$this->options['popup_width'], (int)$this->options['popup_height'], '', '', 'link'
);
}
?>
<label for="hikashop_checkout_terms_checkbox_<?php echo $this->step; ?>_<?php echo $this->module_position; ?>"><?php echo $text; ?></label>
<?php
if(empty($this->ajax)) { ?>
</div>
<?php }