First of all create an account on
https://snipcart.com
Open your dashboard here
https://app.snipcart.com/dashboard/account/credentials and copy your Snipcart API-Key.
Now go to the Snipcart plugin page in Bubble and paste the key in the SNIPCART-API-KEY field.
Before you can use the "Add to cart" button you should create a database thing in Bubble with this fields:
- ID / text
- File ID / text - data-item-file-guid (optional for digital products)
- Name / text
- Decscription / text
- Price / number
- Image / image
After that you should create some sample products.
Create a repeating group for your products. Add our plugin to a cell. The plugin has five properties to make things work. Set the properties to the respective values of your products in the repeating group. For the data-item-id please use your name field of your product. Please make shure that the name is unique.
That's all. You can add products to the Snipcart cart.
Enjoy selling your products.
To make it easy for your users to open the cart add the Snipcart items count element and the Snipcart open cart element to your main navigation on your site. See demo page.
Works best with our Snipcart Template
https://bubble.io/template/e-commerce-with-snipcart-1656508769792x136225550175567870