Skip to main content

Terms and Conditions

More
12 years 2 months ago #166403 by Nowweb
Terms and Conditions was created by Nowweb
-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3.16
-- Browser(s) name and version -- : Chrome
-- Error-message(debug-mod must be tuned on) -- : Modal not showing, but shows under the footer

When i have set the Terms and Conditions in the checkout and wnat to read the article it shows under the footer and not as modal?

I have tried to use the Costum fields thith the table as order and the Field type as checkbox, but there i could not figure out to get the article.

How do i solve the Terms and Conditions, so i have contact to the article content ?

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #166419 by nicolas
Replied by nicolas on topic Terms and Conditions
Hi,

Your Joomla template is not supporting properly the popups. Go in the Display tab of theHikaShop configuration and change the "popup mode" option to the other choices until you have one which works.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #166494 by Nowweb
Replied by Nowweb on topic Terms and Conditions
Hi Nicolas

Is it this code you mean ?
I am not sure what you mean ?
Code:
<?php /** * @package HikaShop for Joomla! * @version 2.3.2 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://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>

Best regards
Brian
Last edit: 12 years 2 months ago by Nowweb.

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #166501 by nicolas
Replied by nicolas on topic Terms and Conditions
That's the code which calls the system to display the popup.
I'm not talking about code in my message.
I'm saying that you need to change the option "popup mode" of the Display tab of the HikaShop configuration. It's an option of the configuration. There is no code to change.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #169861 by Nowweb
Replied by Nowweb on topic Terms and Conditions
Do have have any docs to make it use modal in a yootheme yoo_capture ?

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #169862 by Xavier
Replied by Xavier on topic Terms and Conditions
Hi,

There is no documentation about this, do you have changed the popup mode option in Configuration > Display > Popup mode ?

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #169954 by Nowweb
Replied by Nowweb on topic Terms and Conditions
I have a template that show the " pop up " at the bottom of the site when its activated and not as a pop up

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #169971 by nicolas
Replied by nicolas on topic Terms and Conditions
That is because your template is not supporting the popup library of Joomla properly.
Change the "popup mode" option of the HikaShop configuration to other values and see if one of them circumvent the problem.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #170334 by Nowweb
Replied by Nowweb on topic Terms and Conditions
the options is NOT to stop using the terms popup but where i find documentions how to get it to work on the yootheme.

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #170370 by lousyfool
Replied by lousyfool on topic Terms and Conditions

Nowweb wrote: the options is NOT to stop using the terms popup but where i find documentions how to get it to work on the yootheme.


Hi,

Maybe something got lost in translation, but Nicolas and Xavier told you already a few times what to do. So, here is the "documentation" to get it to work on a Yootheme template - it works for me, so it should work for you, too:

In the HikaShop backend, go to -> System -> Configuration, then click on the Display tab. Right there, under "General Display options", the 4th option is "Popup mode". Set this to "mootools", then save.
Try reloading your webpage and trigger a popup in HikaShop, it should work.

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #170378 by Nowweb
Replied by Nowweb on topic Terms and Conditions
Thanks.. I got it to work with the right css.

Best regards
Brian

Please Log in or Create an account to join the conversation.

Time to create page: 0.284 seconds
Powered by Kunena Forum