Hi I am on Hikashop Business 2.3.4, and the terms and conditions does not display as a popup, but below the page ("in the debug section")
I have looked at the answer on another persons question, but code on that view looks different in my version:
<?php
/**
* @package HikaShop for Joomla!
* @version 2.3.4
* @author hikashop.com
* @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3
www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?><div id="hikashop_checkout_terms" class="hikashop_checkout_terms">
<input class="hikashop_checkout_terms_checkbox" id="hikashop_checkout_terms_checkbox" type="checkbox" name="hikashop_checkout_terms" value="1" <?php echo $this->terms_checked; ?> />
<?php
$text = JText::_('PLEASE_ACCEPT_TERMS');
$terms_article = $this->config->get('checkout_terms');
$terms_width = $this->config->get('terms_and_conditions_width',450);
$terms_height = $this->config->get('terms_and_conditions_height',480);
if(!empty($terms_article)){
$popupHelper = hikashop_get('helper.popup');
$text = $popupHelper->display(
$text,
'HIKASHOP_CHECKOUT_TERMS',
JRoute::_('index.php?option=com_content&view=article&id='.$terms_article.'&tmpl=component'),
'shop_terms_and_cond',
$terms_width, $terms_height, '', '', 'link'
);
}
?>
<label for="hikashop_checkout_terms_checkbox"><?php echo $text; ?></label>
</div>
I really could use some assistance to either display the t's&C's on a new page, or as a pop-up as it should.
Thank you