Can I use the HTML Snippet for integrating Buy Now buttons or a Shopping Cart?
Yes. You can easily integrate merchant tools in your website by using the HTML snippet.
Can I insert HTML snippets inside a Text and Image area?
Yes, you can insert HTML snippets inside a text area or even a table and thus structure the content of your site much better. Open your Text and Image editor and position the cursor where you would like to have the snippet. Click on the HTML icon on the formatting toolbar and an HTML box will appear in your text. You can edit the HTML code by clicking on the box.
What should be the structure of the HTML code inserted in the HTML Snippet?
Assuming the typical HTML code structure is
<head> (head) </head>
<body> (body) </body>
the code inserted in the HTML snippet should contain only the (body) part.
You can insert pieces of code into the Head element of your site using the Header HTML feature in Site Properties
Can I install scripts on your server using the HTML Snippet?
My site has stopped functioning properly after I inserted an HTML Snippet.
Faulty code placed in the HTML Snippet may result in:
- Java Script errors on the page
- inability to load all page elements
- missing Control Panel icon and Publish option
- even problems logging into the Admin View of your website
If you can access the Admin View and the editing functions are properly working, try commenting the code in the HTML snippet(s). When commented, the script is not active and any possible errors or problems caused by it should stop. To comment the code in an HTML snippet you will need to place it between the beginning tag tag as follows: .
Once the problem is identified as caused by the code in a particular snippet you can further debug or remove it.
If you can't access the Admin View of your site due to severe problems caused by code inserted in an HTML Snippet, please Contact us using the Help button in your website Admin for further assistance.