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
4
votes
2 answers

Only load Snipcart on specific page in Gatsby

I'm using Snipcart Plugin in Gatsby but the script gets loaded everywhere. Is is it possible with some sort of function to trigger the script on only 1 specific page and not entirely? Below are the options I'm using in my Gatsby-config.js file { …
brandshore
  • 51
  • 3
4
votes
2 answers

Add Snipcart to Gatsby

I'm trying to integrate Snipcart into Gatsby (v2). I edit the html.js file like this: import React from "react" import PropTypes from "prop-types" export default class HTML extends React.Component { render() { return (
uciska
  • 302
  • 1
  • 2
  • 14
4
votes
1 answer

Angular 2 index.html - different for development and production

I need to implement snipcart in my angular 2 project. The script tag below needs to be inserted in head of my index.html file. However, the data-api-key differs for development and production environments.. how do I do that?
Zambiorix
  • 95
  • 6
3
votes
1 answer

Snipcart add item via JS API

I'm building a very small e-commerce website for selling customizable jewels, so I have a graphical configurator that lets you design the jewel and then you can add it to the cart. The product should have a custom field in JSON format that contains…
Luca Faggianelli
  • 2,032
  • 20
  • 23
3
votes
0 answers

Can't Bind to Since it Isn't a Known Property of "Button" Angular 2

I am using snipcart.com as my ecommerce/payment processor. However, when making simple HTML button, I am getting an error:
3
votes
1 answer

Custom Snipcart orders dashboard

I'm trying to create a custom Snipcart orders dashboard using their orders API but starting with this: $query = curl_init(); $key = 'My-API-key'; $options = array( CURLOPT_URL => 'https://app.snipcart.com/api/orders/', CURLOPT_USERPWD…
Tyssen
  • 1,569
  • 16
  • 35
3
votes
0 answers

How to make simple tabs/accordion remember tabs when back button is used?

We have a basic responsive tabs to accordion setup like this: // Based on: http://codepen.io/jacmaes/pen/miBKI // initialise when dom is ready $(document).ready(function() { // initialise if .accordion is on the page if ($('.accordion')[0])…
CMSCSS
  • 2,076
  • 9
  • 28
  • 49
2
votes
1 answer

Snipcart and NextJS installation

I feel like this is driving me crazy, not being able to get Snipcart set up properly and I am not sure how to resolve this. Maybe someone can tell me what I'm missing here? So I can add the link references in the 'Head' of the '_document' page just…
k-blueM
  • 31
  • 5
2
votes
1 answer

Disable Snipcart full-page cart

Is it possible to disable Snipcart's full-page cart? I have set data-config-modal-style="side" like the docs says to but on smaller screens the cart still opens the full page-cart. I don't want to have to design two different carts to look the same.
Vincent Orback
  • 2,327
  • 22
  • 35
2
votes
3 answers

Snipcart: Switch off autocomplete in adress fields

is it possible to switch off autocompletion in the adressfields? I can see there is