X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Paypal Bill Me Later banner generates smarty error? (https://forum.x-cart.com/showthread.php?t=68561)

wplume 01-28-2014 07:45 PM

Paypal Bill Me Later banner generates smarty error?
 
Copied and pasted Paypals Bill Me Later banner code to my home.tpl file, confirmed the code, however it generates a smarty error at the top of the home page:

"Error: Smarty error: [in customer/home.tpl line 105]: syntax error: unrecognized tag: "use strict"; var s = d.getElementsByTagName(t)[0], n = d.createElement(t); n.src = "//paypal.adtag.where.com/merchant.js"; s.parentNode.insertBefore(n, s); (Smarty_Compiler.class.php, line 436) in /home/icaion5/public_html/Smarty-2.6.12/Smarty.class.php on line 1095"

The banner never displays and PayPal's support has been lacking.

Any help would be appreciated.

Thanks

wplume 01-28-2014 09:22 PM

Re: Paypal Bill Me Later banner generates smarty error?
 
Chris at Hands-On provided the answer-just had to enclose paypal's code in {literal} {/literal} tags.


All times are GMT -8. The time now is 10:53 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.