HTML Snippet


 

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.

See also

E-commerce overview and comparison

PayPal integration tutorial

E-junkie integration tutorial

2Checkout integration tutorial

   

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.

See also

Tutorial on adding HTML in the Text and Images editor

     

What should be the structure of the HTML code inserted in the HTML Snippet?

Assuming the typical HTML code structure is

<html>

   <head> (head) </head>

   <body> (body) </body>

</html>

the code inserted in the HTML snippet should contain only the (body) part.

See also

HTML Snippet tutorial

    

Can I install scripts on your server using the HTML Snippet?

No, you cannot install any back-end scripting on our servers. The HTML Snippet can only help you integrate a piece of HTML or JavaScript code in the content area on any page of your site.

     

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 <!-- and the ending --> tag as follows: <!-- YOUR CODE -->.

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.