| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Paypal Bill Me Later banner generates smarty error? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
cnctech v4.1.9 CDSEO Pro Advanced Mini-Cart AOM Remember Me Remember Anonymous Carts BCS Fast Lane Shipping Estimator BCS Order Page Emailer BCS Authorize.net DPM BCS Inventory Pricing Checkout One |
|||||||
#2
|
|||||||
|
|||||||
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.
__________________
cnctech v4.1.9 CDSEO Pro Advanced Mini-Cart AOM Remember Me Remember Anonymous Carts BCS Fast Lane Shipping Estimator BCS Order Page Emailer BCS Authorize.net DPM BCS Inventory Pricing Checkout One |
|||||||
|
|
|||
X-Cart forums © 2001-2020
|