ipatate / gatsby-plugin-snipcart-advanced Goto Github PK
View Code? Open in Web Editor NEWGatsby JS plugin for Snipcart V3 with advanced settings
License: MIT License
Gatsby JS plugin for Snipcart V3 with advanced settings
License: MIT License
Hi, is there a way to use this lib only to specific pages? I would like to lighten the pages where I do not use snipcart, and I have noticed that this is required by all my pages.
Thanks!
Is it something feasible to add a call to the currency API Snipcart.api.session.setCurrency('usd');
in the context? It would allow us to change the currency on the fly and run a multi-currency site.
Just a thought/suggestion. :)
Hi, I am new to Gatsby and I am having trouble customizing the sections using the innerHTML plugin options.
I am wanting to add a header and add top-margin or padding in the header. I had a look at the Snipcart document but it was a bit hard to understand.
Options:
innerHTML: '
<checkout section="header" style="padding-top: 200px;">
<cart-header>
<h1>Test header</h1>
</cart-header>
</checkout>''
When navigating to home page, cart count stays 0. Any ideas?
When implemented the advance plugin then it setup with Snipcart version 3.0.9 and all is working fine.
But when I upgraded to Snipcart version 3.7.3 then it is logging "not defined" warning in console.
window.SnipcartSettings
is not defined. Consider using the latest installation instructions
This plugin and as most Snipcart plugins don’t work with Gatsby anymore. From what I can tell, any version about 3.0.6 will not work in Gatsby. Unless I’m doing this wrong please find a fix as this isn’t really usable with the default values.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.