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

#   How to make the checkout terms appear directly

##

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

Less More

- Posts: 107
- Thank you received: 1
-
-

13 years 11 months ago [\#79899](#79899) by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile")  *[How to make the checkout terms appear directly](/forum/2-general-talk-about-hikashop/76354-how-to-make-the-checkout-terms-appear-directly#79899 "Hi there,  I need to make the checkout terms (or legal issues) appear directly above the checkbox rather than pop out in a lightbox.  What should I do?  Thank you so much. :)")* was created by *[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")*

Hi there,

I need to make the checkout terms (or legal issues) appear directly above the checkbox rather than pop out in a lightbox.

What should I do?

Thank you so much. ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 107
- Thank you received: 1
-
-

13 years 11 months ago [\#79915](#79915) by [tinachou](/forum/user/11887-tinachou "View tinachou's Profile")  Replied by *[tinachou](/forum/user/11887-tinachou "View tinachou's Profile")* on topic *[How to make the checkout terms appear directly](/forum/2-general-talk-about-hikashop/76354-how-to-make-the-checkout-terms-appear-directly#79915 "Hi there,  I need to make the checkout terms (or legal issues) appear directly above the checkbox rather than pop out in a lightbox.  What should I do?  Thank you so much. :)")*

Hi,

I think I found out the solution!

Just to modify the file under views-&gt;checkout-&gt;tmpl-&gt;terms.php.

I think change something here can work:
Code:

$text = '&lt;a href="'.JRoute::_('index.php?option=com_content&amp;view=article&amp;id='.$terms_article.'&amp;tmpl=component').'" class="modal" rel="{handler: \'iframe\', size: {x: 600, y: 600}}" target="_blank"&gt;'.$text.'&lt;/a&gt;';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MzU0LWhvdy10by1tYWtlLXRoZS1jaGVja291dC10ZXJtcy1hcHBlYXItZGlyZWN0bHk/dG1wbD1tYXJrZG93bg==) 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 11 months ago [\#79982](#79982) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[How to make the checkout terms appear directly](/forum/2-general-talk-about-hikashop/76354-how-to-make-the-checkout-terms-appear-directly#79982 "Hi there,  I need to make the checkout terms (or legal issues) appear directly above the checkbox rather than pop out in a lightbox.  What should I do?  Thank you so much. :)")*

Hi,

I think that you can call that link in a popup on windows.open in javascript.
Maybe something like: Code:

&lt;?php $js=' window.addEvent("domready", function(){ var url = \'index.php?option=com_content&amp;view=article&amp;id='.$terms_article.'&amp;tmpl=component\'; newwindow=window.open(url,\'name\',\'height=480,width=450\'); if (window.focus) {newwindow.focus()} return false; });'; if(!HIKASHOP_PHP5) { $doc =&amp; JFactory::getDocument(); } else { $doc = JFactory::getDocument(); } $doc-&gt;addScriptDeclaration("\n&lt;!--\n".$js."\n//--&gt;\n"); ?&gt;

To add after everything in the view "checkout / terms".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzc2MzU0LWhvdy10by1tYWtlLXRoZS1jaGVja291dC10ZXJtcy1hcHBlYXItZGlyZWN0bHk/dG1wbD1tYXJrZG93bg==) 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.057 seconds

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