Skip to content

AMagicianNamedGob/widgets

Repository files navigation

big-commerce-widgets

This repo contains example widgets built for the BigCommerce platform. They aren’t meant to be used standalone — you’ll need a BigCommerce store to actually install them — but you can review and test them locally.


Viewing the Widgets Locally

  1. Clone the repo

    git clone https://github.com/AMagicianNamedGob/big-commerce-widgets.git
    cd big-commerce-widgets
  2. Install dependencies

    npm install
  3. Create a .env file in the root of the project with your store details:

    CLIENT_ID=your_client_id
    ACCESS_TOKEN=your_api_token
    STORE_HASH=your_store_hash
    API_PATH=https://api.bigcommerce.com/stores/${STORE_HASH}/v3/

    ⚠️ Make sure your API account has the Content Modify scope enabled.

  4. Start the local preview (via BigCommerce Widget Builder)

    npx @bigcommerce/widget-builder start
  5. Open the provided localhost URL in your browser to review the widgets.


More Info

About

A collection of widgets for use in Big Commerce.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages