| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Want to add code in <head> section in X-Cart 5 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Want to add code in <head> section in X-Cart 5
Hello
I am using X-Cart Business V5.3.2.7. I want to use LiveHelp script who says to add following code in <head></head> section. Code:
Kindly guide me where I put this code. Best Regards
__________________
Zaintech Technologies http://www.soft-reseller.com http://www.zaintech.pk X-Cart Gold v4.6.5 Gold Plus X-Cart Reboot Template v3.2 Reseller AVG, WinRAR, RoboForm, Likno, IDM, LiveHelp Messenger |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Want to add code in <head> section in X-Cart 5
You should create a custom module having the following Twig template:
Code:
This should add your custom script into the header part of the page.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Want to add code in <head> section in X-Cart 5
You can also add the code on the "Look & Feel" -> "Custom JavaScript" page (but remove the wrapping "script" tag).
Although in this case the code won't go into the "head" part of the page, it still should work.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#4
|
|||||||
|
|||||||
Re: Want to add code in <head> section in X-Cart 5
Hello,
I have used this advice and added the script into the head but it does not seam to render. Does anyone see something wrong here? <!-- BEGIN schema HTML Code --> <script src="https://cdn.schemaapp.com/javascript/schemaFunctions.min.js"></script> <script>schemaLoad("Factory_Direct_Hardware", "YEKJD-0JKCZ-FMEEY-K2LIJ", true);</script> <script src="https://cdn.schemaapp.com/javascript/highlight.js"></script> <!-- END schema HTML Code -->
__________________
5.3.5.8 Assigned Products Backorder / Preorder Banner System Bestsellers Bulk Editing Catalog Catalog Subtitles Category Second Description Product Feeds Product Variants |
|||||||
#5
|
|||||||
|
|||||||
Re: Want to add code in <head> section in X-Cart 5
This will sove your issue...
https://market.x-cart.com/addons/custom-header-assets.html
__________________
Pedro
digitalnotions.i2u.shop shop.modestclassy.com.au4.1.9 X-Cart
X-Cart Business 5.3.6.0 Multi-vendor 5.3.6.0 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|