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

#   Terms and Conditions and strange code '; });

##

- **[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")**
- [![wilfried's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35613.jpg)](/forum/user/35613-wilfried "View wilfried's Profile") Topic Author
- [ Offline](/forum/user/35613-wilfried)

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 10 months ago -  11 years 10 months ago [\#185971](#185971) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  *[Terms and Conditions and strange code '; });](/forum/27-checkout/874141-terms-and-conditions-and-strange-code#185971 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- Browser(s) name and version -- : latest IE, FF and Chrome -- Error-message(debug-mod must be tuned on) -- : Is I set the error logging to maximum I get an error. See images  Hello,  I have added the terms and conditions to the checkout workflow. When It appears I get an extra piece of code on the next line and the hyperlink of the Terms and conditions doesn't work. The extra piece of code is this '; });  hika001 is a picture of the page. Above how it is shown and beneath the firebug data from firefox hika02 is my checkout workflow  Other problem?? When entering this form I switched to maximum error reporting and after that my shop doesn't work anymore. When I go back to system default for error reporting the shop works again. Strange hika003 is how the page shows after switching to maximum error reporting.  Hope someone can help me.  I can't give the url yet because the shop is under construction and I don't want it to show right now. If that is necessary I will see what I can do, but I prefer not to.  Thanks in advance!  kind regards Wilfried")* was created by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- Browser(s) name and version -- : latest IE, FF and Chrome
-- Error-message(debug-mod must be tuned on) -- : Is I set the error logging to maximum I get an error.
See images

Hello,

I have added the terms and conditions to the checkout workflow. When It appears I get an extra piece of code on the next line and the hyperlink of the Terms and conditions doesn't work.
The extra piece of code is this **'; });**

hika001 is a picture of the page. Above how it is shown and beneath the firebug data from firefox
hika02 is my checkout workflow

Other problem??
When entering this form I switched to maximum error reporting and after that my shop doesn't work anymore. When I go back to system default for error reporting the shop works again. Strange
hika003 is how the page shows after switching to maximum error reporting.

Hope someone can help me.

I can't give the url yet because the shop is under construction and I don't want it to show right now. If that is necessary I will see what I can do, but I prefer not to.

Thanks in advance!

kind regards Wilfried

- [ ![hika001.jpg](/forum/attachment/21568) ](/forum/attachment/21568 "hika001.jpg") [ ](/forum/attachment/21568?download=1 "hika001.jpg")
- [ ![hika02.jpg](/forum/attachment/21569) ](/forum/attachment/21569 "hika02.jpg") [ ](/forum/attachment/21569?download=1 "hika02.jpg")
- [ ![hika003.jpg](/forum/attachment/21570) ](/forum/attachment/21570 "hika003.jpg") [ ](/forum/attachment/21570?download=1 "hika003.jpg")

Last edit: 11 years 10 months ago by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile"). Reason: SOLVED

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

- **[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")**
- [![wilfried's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35613.jpg)](/forum/user/35613-wilfried "View wilfried's Profile") Topic Author
- [ Offline](/forum/user/35613-wilfried)

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 10 months ago [\#185972](#185972) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  Replied by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")* on topic *[Terms and Conditions and strange code '; });](/forum/27-checkout/874141-terms-and-conditions-and-strange-code#185972 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- Browser(s) name and version -- : latest IE, FF and Chrome -- Error-message(debug-mod must be tuned on) -- : Is I set the error logging to maximum I get an error. See images  Hello,  I have added the terms and conditions to the checkout workflow. When It appears I get an extra piece of code on the next line and the hyperlink of the Terms and conditions doesn't work. The extra piece of code is this '; });  hika001 is a picture of the page. Above how it is shown and beneath the firebug data from firefox hika02 is my checkout workflow  Other problem?? When entering this form I switched to maximum error reporting and after that my shop doesn't work anymore. When I go back to system default for error reporting the shop works again. Strange hika003 is how the page shows after switching to maximum error reporting.  Hope someone can help me.  I can't give the url yet because the shop is under construction and I don't want it to show right now. If that is necessary I will see what I can do, but I prefer not to.  Thanks in advance!  kind regards Wilfried")*

O and when I click on the link of the terms and conditions nothing happens

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 10 months ago [\#185973](#185973) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Terms and Conditions and strange code '; });](/forum/27-checkout/874141-terms-and-conditions-and-strange-code#185973 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- Browser(s) name and version -- : latest IE, FF and Chrome -- Error-message(debug-mod must be tuned on) -- : Is I set the error logging to maximum I get an error. See images  Hello,  I have added the terms and conditions to the checkout workflow. When It appears I get an extra piece of code on the next line and the hyperlink of the Terms and conditions doesn't work. The extra piece of code is this '; });  hika001 is a picture of the page. Above how it is shown and beneath the firebug data from firefox hika02 is my checkout workflow  Other problem?? When entering this form I switched to maximum error reporting and after that my shop doesn't work anymore. When I go back to system default for error reporting the shop works again. Strange hika003 is how the page shows after switching to maximum error reporting.  Hope someone can help me.  I can't give the url yet because the shop is under construction and I don't want it to show right now. If that is necessary I will see what I can do, but I prefer not to.  Thanks in advance!  kind regards Wilfried")*

Hi,

Please note that you can edit your own message if you want to add something.

About your problem, I think you have a special plugin which "optimize", "minify" or do something with the javascript on the page (plugin which can be a part of your template, hard to say like that).
There is some javascript in the page in order to initialize the popup, this code is a "classical" jquery code Code:

&lt;script&gt;jQuery('#modal-shop_terms_and_cond').on('show', function() { document.getElementById('modal-shop_terms_and_cond-container').innerHTML = '&lt;div ........... '; }); &lt;/script&gt;

There is no way that you'll only see '; });' unless something is modifying the rendering HTML.

I recommend you to check the javascript error log of your browser in order to get more details.
I also recommend you to try another popup mode in your HikaShop configuration.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")

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

- **[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")**
- [![wilfried's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35613.jpg)](/forum/user/35613-wilfried "View wilfried's Profile") Topic Author
- [ Offline](/forum/user/35613-wilfried)

Less More

- Posts: 75
- Thank you received: 1
-
-
-

11 years 10 months ago [\#186083](#186083) by [wilfried](/forum/user/35613-wilfried "View wilfried's Profile")  Replied by *[wilfried](/forum/user/35613-wilfried "View wilfried's Profile")* on topic *[Terms and Conditions and strange code '; });](/forum/27-checkout/874141-terms-and-conditions-and-strange-code#186083 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- Browser(s) name and version -- : latest IE, FF and Chrome -- Error-message(debug-mod must be tuned on) -- : Is I set the error logging to maximum I get an error. See images  Hello,  I have added the terms and conditions to the checkout workflow. When It appears I get an extra piece of code on the next line and the hyperlink of the Terms and conditions doesn't work. The extra piece of code is this '; });  hika001 is a picture of the page. Above how it is shown and beneath the firebug data from firefox hika02 is my checkout workflow  Other problem?? When entering this form I switched to maximum error reporting and after that my shop doesn't work anymore. When I go back to system default for error reporting the shop works again. Strange hika003 is how the page shows after switching to maximum error reporting.  Hope someone can help me.  I can't give the url yet because the shop is under construction and I don't want it to show right now. If that is necessary I will see what I can do, but I prefer not to.  Thanks in advance!  kind regards Wilfried")*

When I set the popup mode to mootools instead of inherit (bootstrap), it works. The code is gone and I can click the link.

When I disable rockbooster (compression) and clear cache and set it to bootstrap the strange code is gone but when I click on the link nothing happens. So it could indead be some compression thing I guess. But what exactly is hard to say then.

I'll just use mootools for popups.

Thanks.

Wilfried

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

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