[Skip to main content](#vessel-content)

#   Terms and conditions in new window for checkout

##

- **[Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")**
- [![Jeffq's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28397-jeffq "View Jeffq's Profile") Topic Author
- [ Offline](/forum/user/28397-jeffq)

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 1 month ago [\#129753](#129753) by [Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")  *[Terms and conditions in new window for checkout](/forum/27-checkout/863160-terms-and-conditions-in-new-window-for-checkout#129753 "Hello,  During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?  Thanks for your help Regards, PS: I'm using hikashop 2.2.2 with joomla 2.5")* was created by *[Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")*

Hello,

During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?

Thanks for your help
Regards,
PS: I'm using hikashop 2.2.2 with joomla 2.5

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MzE2MC10ZXJtcy1hbmQtY29uZGl0aW9ucy1pbi1uZXctd2luZG93LWZvci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 4 weeks ago [\#129824](#129824) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Terms and conditions in new window for checkout](/forum/27-checkout/863160-terms-and-conditions-in-new-window-for-checkout#129824 "Hello,  During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?  Thanks for your help Regards, PS: I'm using hikashop 2.2.2 with joomla 2.5")*

Hi,
You'll probably be able to do that by editing the file **terms** of the **checkout** view of your front-end template, and replace the terms popup by just a link which will redirect your customer to a new page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MzE2MC10ZXJtcy1hbmQtY29uZGl0aW9ucy1pbi1uZXctd2luZG93LWZvci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")**
- [![Jeffq's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28397-jeffq "View Jeffq's Profile") Topic Author
- [ Offline](/forum/user/28397-jeffq)

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 4 weeks ago [\#129961](#129961) by [Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")  Replied by *[Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")* on topic *[Terms and conditions in new window for checkout](/forum/27-checkout/863160-terms-and-conditions-in-new-window-for-checkout#129961 "Hello,  During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?  Thanks for your help Regards, PS: I'm using hikashop 2.2.2 with joomla 2.5")*

Hello,

Thanks for your answer.

I did take a look at it, but couldn't quite figure out what to change, as I only have basic knowledge of joomla's inner workings.

This is what's inside that view, could you please point out what shoud be replaced by a link to the desired page?

Thanks in advance.

Regards
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.2.2 * @author hikashop.com * @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div id="hikashop_checkout_terms" class="hikashop_checkout_terms"&gt; &lt;input class="hikashop_checkout_terms_checkbox" id="hikashop_checkout_terms_checkbox" type="checkbox" name="hikashop_checkout_terms" value="1" &lt;?php echo $this-&gt;terms_checked; ?&gt; /&gt; &lt;?php $text = JText::_('PLEASE_ACCEPT_TERMS'); $terms_article = $this-&gt;config-&gt;get('checkout_terms'); if(!empty($terms_article)){ $popupHelper = hikashop_get('helper.popup'); $text = $popupHelper-&gt;display( $text, 'HIKASHOP_CHECKOUT_TERMS', JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$terms_article.'&amp;tmpl=component'), 'shop_terms_and_cond', 960, 480, '', '', 'link' ); } ?&gt; &lt;label for="hikashop_checkout_terms_checkbox"&gt;&lt;?php echo $text; ?&gt;&lt;/label&gt; &lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MzE2MC10ZXJtcy1hbmQtY29uZGl0aW9ucy1pbi1uZXctd2luZG93LWZvci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 4 weeks ago [\#130022](#130022) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Terms and conditions in new window for checkout](/forum/27-checkout/863160-terms-and-conditions-in-new-window-for-checkout#130022 "Hello,  During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?  Thanks for your help Regards, PS: I'm using hikashop 2.2.2 with joomla 2.5")*

Hi,

You have to replace: Code:

$popupHelper = hikashop_get('helper.popup'); $text = $popupHelper-&gt;display( $text, 'HIKASHOP_CHECKOUT_TERMS', JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$terms_article.'&amp;tmpl=component'), 'shop_terms_and_cond', $terms_width, $terms_height, '', '', 'link' );

By: Code:

$text = '&lt;a target="_blank" href="'.JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$terms_article).'"&gt;'.JText::_('PLEASE_ACCEPT_TERMS').'&lt;/a&gt;';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MzE2MC10ZXJtcy1hbmQtY29uZGl0aW9ucy1pbi1uZXctd2luZG93LWZvci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")**
- [![Jeffq's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/28397-jeffq "View Jeffq's Profile") Topic Author
- [ Offline](/forum/user/28397-jeffq)

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 4 weeks ago [\#130122](#130122) by [Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")  Replied by *[Jeffq](/forum/user/28397-jeffq "View Jeffq's Profile")* on topic *[Terms and conditions in new window for checkout](/forum/27-checkout/863160-terms-and-conditions-in-new-window-for-checkout#130122 "Hello,  During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?  Thanks for your help Regards, PS: I'm using hikashop 2.2.2 with joomla 2.5")*

Hi,

Perfect!

Thanks a lot for your efficient and fast response!

Regards.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MzE2MC10ZXJtcy1hbmQtY29uZGl0aW9ucy1pbi1uZXctd2luZG93LWZvci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[hamsel](/forum/user/5186-hamsel "View hamsel's Profile")**
- [![hamsel's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5186.jpg)](/forum/user/5186-hamsel "View hamsel's Profile")
- [ Offline](/forum/user/5186-hamsel)

Less More

- Posts: 12
- Thank you received: 0
-
-

12 years 10 months ago [\#139145](#139145) by [hamsel](/forum/user/5186-hamsel "View hamsel's Profile")  Replied by *[hamsel](/forum/user/5186-hamsel "View hamsel's Profile")* on topic *[Terms and conditions in new window for checkout](/forum/27-checkout/863160-terms-and-conditions-in-new-window-for-checkout#139145 "Hello,  During checkout, can I get the terms and conditions article to show up on another window, instead of a iframe?  Thanks for your help Regards, PS: I'm using hikashop 2.2.2 with joomla 2.5")*

Did the trick for me, too. Pop-up didn't work - the terms &amp; conditions page showed up to the lower left on the page instead...

/Per Hertz

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MzE2MC10ZXJtcy1hbmQtY29uZGl0aW9ucy1pbi1uZXctd2luZG93LWZvci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
