Aw: Can order without agree TERMS OF SERVICE and RETURN POLICY
Configuration / Checkout
Terms of Service: No
\components\com_jshopping\templates\default\checkout\previewfinish.php
<?php if ($this->config->display_agb){?>
<div class="row_agb">
<input type = "checkbox" name="agb" id="agb" />
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_AGB')?></a>
<?php print Text::_('JSHOP_AND')?>
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component&cart=1', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_RETURN_POLICY')?></a>
<?php print Text::_('JSHOP_CONFIRM')?>
</div>
<?php }?>
change to
<?php if (1){?>
<div class="row_agb">
<input type = "checkbox" name="agb" id="agb" />
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=agb&tmpl=component', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_AGB')?></a>
<?php print Text::_('JSHOP_AND')?>
<a class = "policy" href="#" onclick="window.open('<?php print Helper::SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=return_policy&tmpl=component&cart=1', 1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print Text::_('JSHOP_RETURN_POLICY')?></a>
<?php print Text::_('JSHOP_CONFIRM')?>
</div>
<?php }?>
Letzte Änderung: 07.06.2024 20:05