@ecwid/nextjs-ecwid-plugin

0.1.2 • Public • Published

Ecwid Ecommerce Shopping Cart

Powerful, easy to use ecommerce shopping cart plugin for Next.js 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.

Installation

npm install @ecwid/nextjs-ecwid-plugin

Usage

In your app, use the ProductBrowser or BuyNowButton components.

ProductBrowser usage example:

import {ProductBrowser} from '@ecwid/nextjs-ecwid-plugin'

export default function Store() {
  return (
    <>
      <ProductBrowser
        storeId="13433173"
      />
    </>
  )
}

Buy Now Button usage example:

import {BuyNowButton} from '@ecwid/nextjs-ecwid-plugin'

export default function Store() {
  return (
    <>
      <BuyNowButton
        storeId="13433173"
        productId="102852327"
        isShowPrice={false}
      />
    </>
  )
}

License

This project is Apache2.0 licensed.

Package Sidebar

Install

npm i @ecwid/nextjs-ecwid-plugin

Weekly Downloads

3

Version

0.1.2

License

Apache-2.0

Unpacked Size

20.9 kB

Total Files

9

Last publish

Collaborators

  • juvs
  • alexis-ecwid
  • meteor-ec
  • ecwid-bot