Jump to content

How to add javascript and css to HTML template?


JoZu

Recommended Posts

I have an HTML template for my ebay products.

The code have multiple <script> and <style> lines, when template is save automatically add [CDATA on my code and show this error when sync:

 

Texte d'erreur XML : "; nested exception is: org.xml.sax.SAXParseException: The element type "Description" must be terminated by the matching end-tag "".".
; nested exception is: org.xml.sax.SAXParseException: The element type "Description" must be terminated by the matching end-tag "". 

 

Any help, please?

Howto add javascript and inline css?

 

Link to comment
Share on other sites

Don't work for me, this happens when I put the code in the module section in Ebay Html Template.

 

1.- Put HTML code and save

2.- when the module detects javascript or sytle, the module automatically adds [CDATA

3.- If you have [CDATA in your template code an error occurs when sync products

 

post-742915-0-69199100-1388696857_thumb.jpg

Link to comment
Share on other sites

  • 2 years later...

I'm doing sync and had the same problem. Hope this will help someone:

  1. go to phpmyadmin
  2. find ps_ebay_configuration
  3. modify column EBAY_PRODUCT_TEMPLATE

There you can enter scripts and links to css

Be carefull about scripts baceuse not all of them can be placed in ebay

Here is a great tutorial:

http://www.codentalk.com/add-nivo-slider-in-ebay-store-header/

 

sklepy internetowe Krakow

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...