How to embed the Shopping Cart on my own website?

With this feature, you can keep your customers on your site throughout the purchasing process. Embed the shopping cart directly onto your site to let your customers purchase multiple products in one go.

Note: the shopping cart will only function with the products you've embedded from to your site. It's not compatible with other services, and can't be used on its own.

Here's how to embed the Shopping Cart onto your site (NOT available to Sell Downloads app users on

  1. Make sure you've got at least 1 'Buy now' button embedded on your site;
  2. Go to the Embed code generator in the 'Marketing' section of your account;
  3. Select 'Buy Now button';
  4. Scroll down and copy the generated code from the 'Embed Shopping Cart' window (the code will be the same for all products).
  5. Insert the code in the HTML editor on your site.

The embed generator for the shopping cart will look something like this:

To help you make the most of this feature, it's useful to understand what each part of the code represents:

data-id="[YOUR-ID]" represents your user ID that's vital for the cart to function. Make sure to copy this part of the code as-is.

data-type can be either floating or inline. It basically determines the position of the button on your site. floating is the default option, it will place the cart button at the top right corner of the page with a 20px x 20px margin from the sides and will always scroll along. Setting it to inline will make it appear wherever you place it on your page.

Here's what the button will look like in floating mode:

Here's how it may look like in Inline mode:

data-text tag allows you to add custom text to your shopping cart button. We recommend one to three words maximum, but it's totally up to you. The default in this bit of code is set to Cart, but you may change it to Shopping Cart or other titles. 

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us