Using simple HTML markup, turn any existing website into an extensive shopping cart platform. Snipcart allows payment processing, refunds, shipping estimates and order management without ever letting your customers leave your website.
Questions tagged [snipcart]
70 questions
1
vote
1 answer
Product crawling 'Cart confirmation' error in Snipcart when adding weight attribute
I'm building a Vue app and I'm using Snipcart for the shop and I'm facing a problem with shipping.
The site is also built with headless CMS, Prismic. All the product item data is fetched from Prismic and passed via a serverless function to Snipcar's…

Jack
- 41
- 4
1
vote
1 answer
Snipcart - error: 'product-crawling-failed'
I'm trying to set up Snipcart for the first time. It seems pretty straightforward for the most part, but I'm running into some issues when I try to check out with the test payment card.
I'm working with just a vanilla front end, and Express on the…

j roc
- 156
- 3
- 5
- 23
1
vote
1 answer
Snipcart data-item-url price don't match React
I have an issue when trying to use Snipcart with a Reactjs webpage, I know that the URL should be where your buy buttons are, but in my case I have buttons on different pages, so I'm trying to do it dynamically, like this:
import…

ChloeDumit
- 11
- 1
1
vote
0 answers
How to change hint text in Snipcart's payment form
I am using snipcart in my react web app. Reading their docs I found out that I cannot override the css of the payment form because that payment form is being loaded in an iframe and to customize it , I have to use their javascript sdk like this:
…

Cybershadow
- 1,097
- 9
- 16
1
vote
1 answer
Snipcart data-item-url not working on localhost
I'm currently testing product payment on local (Wampserver) but I always have a 'domain-crawling-failed' error I can't solve when it comes to confirm payment.
https://i.stack.imgur.com/HVxjd.png
https://i.stack.imgur.com/iU0zJ.png
I've set…

KenTay7
- 111
- 1
- 10
1
vote
1 answer
Snipcart v3 and 'data-item-stackable' attribute
I'm banging my head against the wall with this for a month. Setting data-item-stackable="never" in Snipcart V3 does absolutely nothing for me.
But there's more weird things going on:
On my dashboard, I'm getting this message saying:
It seems…
user3488304
1
vote
1 answer
how to change from a select menu to buttons
I have a shopping cart button integrated using snipcart. I've created a select menu with product options and I have some javascript that ties the selected option to the button so that the correct option is added to the cart when clicking "add to…

fred
- 485
- 2
- 7
- 23
1
vote
1 answer
Why can I update the e-mail address, but not the billing address?
I followed the doc at this page: https://docs.snipcart.com/v3/sdk/api#cart
I can update the cart like so:
Snipcart.api.cart.update({
email: 'john.doe@example.com'
}).then(response => {
console.log("Snipcart.api.cart.update response",…

Manube
- 5,110
- 3
- 35
- 59
1
vote
1 answer
snipcart error: public API key not found. Attribute data-api-key must be set on #snipcart tag
I am having trouble loading snipcart correctly, it picks up the api key on localhost and shows the number of items in cart however when deployed to netlify, it will briefly flash up the number of items in cart when the page is loaded indicating that…

tom harrison
- 3,273
- 11
- 42
- 71
1
vote
1 answer
How to increase the product price in Snipcart with checkbox
I have been implementing the Snipcart in my website and I want to prompt the user with checkbox, and depending on whether the user checked it or not to increase a price of a product.
Here is my code:
1
vote
0 answers
How to prevent the shopping cart from appearing every time you add an item to the cart?
Per the 3.x documentation, adding data-config-add-product-behavior="none" to the div#snipcart element is not working for me, the cart still appears every time I add an item to the cart.
At a lost for what to do, everything else is working fine for…

Uyen Vo
- 11
- 1
1
vote
4 answers
How do I create tiered custom attribute select boxes with SnipCart?
I am looking to have two custom attributes for products, where the second custom attribute has unique options depending on the first attribute selected.
My particular circumstance is selling art that will have many different formats and sizes, where…

Dustyn Altimus
- 316
- 2
- 11
1
vote
1 answer
How do you change Snipcart's default $localize("actions.continue_shopping") label text?
The following code snippet, as provided by Snipcart's documentation for v3, does not seem to override their default text label: Continue shopping
document.addEventListener('snipcart.ready', () => {
Snipcart.api.session.setLanguage('en', {
…

CMR
- 13
- 5
1
vote
1 answer
Sending the data-api-key value for Snipcart w/vue meta in gridsome
I am doing an eCommerce site w/gridsome & snipcart. The problem is when I test snipcart's checkout it fails. The snipcart documentation says to add a line
which I added to default.vue file…

Alan
- 1,067
- 1
- 23
- 37
1
vote
0 answers
Gatsby - srr or browser to inject html (which is really vue) after webpack babel
I am using snipcart which looks at the static html document and looks for #snipcart element. You can put vue elements in there and the magic will be done on the snipcart.js side.
When using Gatsby, in order to edit the index.html file, you have to…

Michael Bruce
- 10,567
- 2
- 23
- 31