Skip to content

springmerchant/checkout-sdk-js-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkout JS SDK Example

This repository features a React example that uses Bigcommerce's Checkout JS SDK to illustrate how to build custom checkout solution for a BigCommerce store.

You can preview this custom checkout in action at Bigcommerce's Checkout JS SDK Example Store.

Getting Started

Installation

You can install this example using npm:

npm install --save @bigcommerce/checkout-sdk-example

or via CDN:

<script src="https://cdn8.bigcommerce.com/s-65xv2m9zph/content/20180810.js"></script>

Usage

Add a <div> element above the <script> tag with the id of checkout-app in the page where you want the checkout to be render:

<div id="checkout-app"></div>

Development

To run this example locally, simply run the following:

npm install && npm run dev

To build:

npm run build

See Also

License

This repository is MIT Licensed.

About

BigCommerce Checkout JavaScript SDK Example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •