Questions tagged [snipcart]

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.

70 questions
0
votes
1 answer

A 'cart-confirmation' error occured in Snipcart

for my nextjs app, I want to use snipcart checkout. When I try to validate a payment I receive an error : A 'cart-confirmation' error occured in Snipcart. Reason: 'product-crawling-failed' --- Item 1 --- [Item ID] 8 [Item Unique ID]…
Rom-888
  • 681
  • 2
  • 9
  • 30
0
votes
2 answers

Pass query parameters to Snipcart API url inside a Netlify function

I’m trying to get JSON product data from Snipcart by querying my Netlify function as below: const fetch = require("isomorphic-fetch"); const {SNIPCART_PRIVATE_KEY} = process.env; const API_ENDPOINT = "https://app.snipcart.com/api/products"; const…
mettamyron
  • 11
  • 3
0
votes
2 answers

Define JSON File for Snipcart Product Validation

I'm trying to create a page where administrator of the website can enter a new products through a form that will store it in a json file and appear as item in the main shop page. I succedeed to do it but snipcart doesn't seems to recognize the…
KenTay7
  • 111
  • 1
  • 10
0
votes
1 answer

Problem setting up node js server to listen for webhook and post to database

Good morning everyone, I'm having a bit of a struggle setting up a server to listen for webhook data and post it to a database. I'm mostly front-end, so some of this is a bit new for me. So I have a deli website that i built on snipcart. I have a…
0
votes
1 answer

Snipcart v3 adding an item with JavaScript SDK

I'm trying to replicate a very nice tutorial on how to have each item in its own row in the cart. You can find it on this link. Unfortunately, this tutorial is using Snipcart v2 and I was hoping to get it working with v3. The problem I'm facing is…
user3488304
0
votes
1 answer

SnipCart site: "$localize" showing up in Google search result snippet

I have customized my SnipCart e-commerce site following the customization documentation:
0
votes
1 answer

How to introduce your own style when using Snipcart?

I'm building an ecommerce platform using GatsbyJS and Snipcart. It works well, but I want to override the default theme provided by Snipcart, and when I want to change the main default CSS through gatsby-config.js for some reason, it does not…
0
votes
1 answer

Snipcart V 3.0: adding an item with custom fields (JavaScript SDK)

For a webshop project, I'm using Snipcart V 3.0 I can successfully add an item to the cart using the JavaScript SDK: await Snipcart.api.cart.items.add({ id: 'myId', name: 'myName', price: 0.00, url: 'myURL', image: 'myImage', …
0
votes
0 answers

Snipcart shopping cart not updating properly

I'm having a problem with the snipcart shopping cart. I'm using the Grav CMS. Everything works fine until you go a page back with the browser back button. If you've added anything to your cart and after that you go some pages back, the cart doesn't…
0
votes
1 answer

gatsby-plugin-snipcart unable to display labels in the form

I'm using snipcart to add cart service to my website. However I can't get it to show lables on the form and I'm unable to figure out why. Does anyone know where I'm going wrong? I'm using Test API key, is that why? or is there somthing else I'm…
Harsha Murupudi
  • 579
  • 1
  • 6
  • 19
0
votes
0 answers

Content decimal

In a Gatsby project, combined with a Contentful Space, I have a decimal field for setting a product price (see image below) You see the price with a comma (Dutch locale f.i.), while I need it with a decimal point, to process the decimal number…
Ad Rienks
  • 400
  • 1
  • 6
  • 15
0
votes
1 answer

SnipCart 2x How to add Stock quantity to product automatically on fetch?

I'm using SnipCart 2 and have all my products on one page. Using the Fetch tool in the Snipcart dashboard allows me to gather all products for the inventory. The stock number states Unspecified. How can I code my buy buttons to automatically tell…
pinkp
  • 445
  • 2
  • 12
  • 30
0
votes
1 answer

Snipcart or other similar solutions

I am developing a website for a small business in Spain with Java, Bootstrap, jQuery and I need to integrate an ecommerce platform Is Snipcart the best option or do you recommend any of the similar solutions that for some reason you will agree is…
Josefersd
  • 11
  • 1
0
votes
1 answer

I am getting an error "Snipcart.api.setCurrency is not a function", I think it might be from the Accept: application/json

I am helping someone integrate Snipcart into their Squarespace store and they want to use the multi-currency functionality. I am getting an error "Snipcart.api.setCurrency is not a function" for every Snipcart.api... function I have. I think it…
Alex E
  • 1
0
votes
1 answer

data-item-url is on localhost instead of pythonanywhere (wagtail + snipcart project)

So instead of having data-item-url="https://miglopes.pythonanywhere.com/ra%C3%A7%C3%A3o-de-c%C3%A3o-purina-junior-10kg/" it keeps on appearing data-item-url="http://localhost/ra%C3%A7%C3%A3o-de-c%C3%A3o-purina-junior-10kg/" how do i remove the…
Miguelito
  • 1
  • 1