Sweet Button - Add to Cart button with Cartloom


This FAQ will teach you how to get the Sweet Button stack to work as an add to cart button for cartloom.

Code Snippet tab in Cartloom

In your cartloom admin console, edit the product in question and go to the Code Snippets tab.


Get your Cartloom JS code

Copy the Cartloom Javascript code highlighted above.


Add Cartloom JS to Header

Paste the Cartloom JS code into the Header tab in your Page Inspector.


Copy the add to cart code snippet url

Back in Cartloom, find the add to cart snippet in the same tab we were in previously. Copy the text highlighted above.


Set Cartloom link inside Sweet Button

Take the url that you copied from the last step and paste it into the URL link area. You will also want to add the class attribute and set it to cartloom-addtocart. If you do not add the class, your add to cart will not work!

Click on Set Link and you are good to go!!!! We hope you have enjoyed this tutorial. Now go forth and make your websites great!