| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
adding custom jquery | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
adding custom jquery
I am using a trial version of X-Cart Gold 4.4.2 and would like to add some custom jQuery code for a CSS / jQuery sub menu navigation. I've tried <script src="http://www.domainname.com/foldername/filename.js"></script> in the <head> tag in the /skin/common_files/customer/service_head.tpl file, but no luck.
How would I do this, please?
__________________
2 - X-Cart Gold 4.4.2 1 - X-Cart Gold 4.4.4 |
|||||||
#2
|
|||||||
|
|||||||
Re: adding custom jquery
In /skin/skinName/customer/service_js.tpl add some code like this after the jquery call:
Code:
Put your JS file in /skin/skinName/js/ |
|||||||
|
#3
|
|||||||
|
|||||||
Re: adding custom jquery
There is other way to do this which to include your file at the home.tpl file. If you will include it on the other place automatically the codes will strip off.
__________________
http://www.waytoecommerce.com/ Ecommerce Development | Online Shop Development |
|||||||
|
#4
|
|||||||
|
|||||||
Re: adding custom jquery
I have added a custom jquery for category in the place of horizontal menu bar but it will conflict with product detail's tab.
How to resolve this conflicting issue in 4.4.2?? |
|||||||
#5
|
|||||||
|
|||||||
Re: adding custom jquery
What's the reported conflict?
|
|||||||
#6
|
|||||||
|
|||||||
Re: adding custom jquery
Hi Shamun,
Thanks for your reply. When I add custom jquery in the place horizontal category navigation it works fine but the product details tab vanishes and after adding add to cart mini cart is not showing. Have there any cookie issue?? Why this problem? Can you help me?? |
|||||||
#7
|
|||||||||
|
|||||||||
Re: adding custom jquery
Moved to X-Cart Customization > Storefront Design & Template Editing in v 4.4.x
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: adding custom jquery
Your custom jquery my be referencing same classes or id's for elements, make sure they are not in use by some other elements
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|