Skip to content

How to use a Sellfy “Buy now” button on Google Sites (part 2)

November 24, 2013

I have written that I could insert a Sellfy “Buy now” button on Google Sites by making a gadget just before.  This post describes how I did it.

A Google Sites gadget can be made from just an XML file as below:

<?xml version="1.0" encoding="UTF-8"?>
<Module>
  <ModulePrefs height="32"/>
  <Content type="html">
    <![CDATA[
<!-- INSERT YOUR HTML BUTTON CODE HERE -->
    ]]>
  </Content>
</Module>

Here is the short instructions to make your own gadget:

  1. Create an XML file with the above contents.
  2. Get a HTML code from your Sellfy account with Open in new window selected.
  3. Substitute your HTML code for <!-- INSERT YOUR HTML BUTTON CODE HERE -->.
  4. Add target="_top" or target="_blank" to the a tag.  Note if you forget this step, your product will be displayed only in a small area around the button.
  5. Upload the XML file to any location with a public URL.
  6. On Google Sites, choose [Insert] > [More gadgets…] and [Add gadget by URL], enter your gadget’s URL, and finally [Add].
  7. Then adjust preferences.  I hope 32 pixels for the gadget height is enough, but your mileage may vary.

 

Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: