4
0
forked from crowetic/commerce
B f3cdbe682b
Bump (#642)
* Packages Bump

* Code Updated

* More API Changes

* Working updates

* Updated Tailwind Config

* SWR API updates

* More changes

* Commercejs Types

* Commercejs Types

* Commercejs Types
2022-01-13 15:30:14 +01:00
..
2021-11-25 09:17:13 -03:00
2022-01-13 15:30:14 +01:00
2021-11-25 09:17:13 -03:00
2021-09-22 19:20:58 -05:00
2021-09-22 19:20:58 -05:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00
2021-08-30 22:32:20 -05:00
2021-06-10 01:46:28 -05:00
2021-11-25 09:17:13 -03:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00
2021-06-10 01:46:28 -05:00

Saleor Provider

Demo: https://saleor.vercel.store/

You need a Saleor instance, either in the cloud or self-hosted.

This provider requires Saleor 3.x or higher.

Copy the .env.template file in this directory to .env.local in the main directory (which will be ignored by Git):

cp framework/saleor/.env.template .env.local

Then, set the environment following variables in your .env.local. Both, NEXT_PUBLIC_SALEOR_API_URL and COMMERCE_IMAGE_HOST must point to your own Saleor instance.

COMMERCE_PROVIDER=saleor
NEXT_PUBLIC_SALEOR_API_URL=https://vercel.saleor.cloud/graphql/
NEXT_PUBLIC_SALEOR_CHANNEL=default-channel
COMMERCE_IMAGE_HOST=vercel.saleor.cloud