@ecwid/gatsby-plugin-ecwid
Version:
Ecwid Ecommerce Shopping Cart is everything you need to add an online store to your site
46 lines (36 loc) • 999 B
Markdown
Powerful, easy to use ecommerce shopping cart plugin for Gatsby sites. Over 1 million sellers in 175 countries, 45 languages supported. PayPal, Stripe and 40 more payment options. Real-time shipping integrations. Selling on Instagram and Facebook.
npm install @ecwid/gatsby-plugin-ecwid
In a your app, use the ProductBrowser or BuyNowButton components.
ProductBrowser usage example:
```javascript
import {ProductBrowser} from '@ecwid/gatsby-plugin-ecwid'
export default function Store() {
return (
<>
<ProductBrowser
storeId="13433173"
/>
</>
)
}
```
Buy Now Button usage example:
```javascript
import {BuyNowButton} from '@ecwid/gatsby-plugin-ecwid'
export default function Store() {
return (
<>
<BuyNowButton
storeId="13433173"
productId="102852327"
isShowPrice={false}
/>
</>
)
}
```
This project is [Apache2.0](LICENSE) licensed.