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
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?