Store Next.js for OpenCart.
Build a modern, high-performance Next.js storefront while keeping your existing OpenCart commerce backend. Connect your store, choose a storefront template, and follow the setup guide to get started.
- >Existing commerce backend
- >Next.js storefront
- >Template-based workflow
OpenCart
Commerce connector
NEXT STEP
Choose a template
OUTPUT
Your storefront
Install Store Next.js
Start with the source code and follow the installation steps provided in the repository. Once the application is running, open the configuration dashboard to connect your commerce platform.
Open GitHub
Visit the official Store Next.js repository.
Download source
Clone or download the project files.
Run setup
Follow the repository's current install guide.
Ready to get the source?
Use the official repository for the latest setup instructions.
Connecting Spurtcommerce takes the spurt adapter folder in your project and four values: API endpoint, Ref ID, Industry name and App ID.
Before you start
You need:
A StoreNext JS project with the spurt folder inside the root-level adapters directory.
Your StoreNext JS admin email and password.
Four values from your Spurtcommerce setup (listed below).
| Field | What to enter | Example shown in the form |
|---|---|---|
| Backend API endpoint | Base URL of your Spurtcommerce API, ending in /api/ | https://dev-api.spurtb2c.store/api/ |
| Ref ID | Reference ID of your store | https://dev.spurtb2c.store/ |
| Industry name | The industry or category of your store | Electronics |
| App ID | The App ID issued for your store | sp_xxxxxxxxxxxxxxxxxxxx |
Check the adapter folder
The Spurtcommerce adapter is the spurt folder inside adapters/, next to the adapters/README.txt file. All adapters must sit in this root-level folder, never in src, public or templates.
- If you received the adapter as a ZIP file, extract it and copy the extracted folder (not the ZIP) into
adapters/. - Avoid nesting such as
adapters/spurt/spurt/. - If the connector does not show up when you connect your store, restart the development server so StoreNext JS rediscovers the adapters.

Connecting Medusa JS takes the medusa adapter folder in your project and three values: backend API endpoint, publishable API key and region ID.
Before you start
You need:
A StoreNext JS project with the Medusa adapter folder inside the root-level adapters directory.
Your StoreNext JS admin email and password.
A running Medusa backend that StoreNext JS can reach.
You also need these three values:
| Field | What to enter | Example shown in the form |
|---|---|---|
| Backend API endpoint | URL of your Medusa backend | https://medusa-api.yourdomain.com or http://localhost:9000 |
| Publishable API key | Storefront key created in the Medusa admin | pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Region ID | ID of the Medusa region your store sells in | reg_xxxxxxxxxxxxxxxxxxxxxxxxxx |
Add the adapter folder
Copy the Medusa adapter folder into the root-level adapters/ directory, next to the existing spurt folder and README.txt. Never place it in src, public or templates.
- If you received the adapter as a ZIP file, extract it and copy the extracted folder (not the ZIP) into
adapters/. - Avoid nesting such as
adapters/medusa/medusa/. - Then restart the development server so StoreNext JS discovers it.

Connecting WooCommerce takes the woocommerce adapter folder in your project and three values: REST API URL, consumer key and consumer secret.
Before you start
You need:
A StoreNext JS project with the WooCommerce adapter folder inside the root-level adapters directory.
Your StoreNext JS admin email and password.
A WooCommerce store whose REST API StoreNext JS can reach.
You also need these three values:
| Field | What to enter | Example shown in the form |
|---|---|---|
| Backend API URL | The WooCommerce REST API base URL | https://your-woocommerce-domain.com/wp-json/wc/v3 |
| Consumer Key | REST API consumer key | ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Consumer Secret | REST API consumer secret | cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Create the WooCommerce API keys
In WordPress, go to WooCommerce › Settings › Advanced › REST API and click Add key. Give it a description, choose a user, and set permissions:
- Read is enough for browsing the catalog.
- Read/Write is needed if the adapter must create orders.
Generate the key, then copy the consumer key and consumer secret straight away, because the secret is shown only once.
/wp-json/ URLs will not work.Add the adapter folder
Copy the WooCommerce adapter folder into the root-level adapters/ directory, next to the existing spurt folder and README.txt. Never place it in src, public or templates.
- If you received the adapter as a ZIP file, extract it and copy the extracted folder (not the ZIP) into
adapters/. - Avoid nesting such as
adapters/woocommerce/woocommerce/. - Then restart the development server so StoreNext JS discovers it.

Connecting OpenCart (4.x) takes the OpenCart adapter folder in your project and two required values: the API endpoint (store URL) and the admin API key or secret. Two more fields are optional.
Before you start
You need:
A StoreNext JS project with the OpenCart adapter folder inside the root-level adapters directory.
Your StoreNext JS admin email and password.
An OpenCart 4.x store whose API StoreNext JS can reach.
Keep these values ready:
| Field | Required | What to enter | Example shown in the form |
|---|---|---|---|
| OpenCart API Endpoint / Store URL | Yes | The adapter endpoint on your OpenCart store | https://your-opencart-domain.com/index.php?route=extension/api/adapter/ |
| OpenCart Admin API Key / Secret | Yes | The API secret key for your store | oc_sec_xxxxxxxxxxxxxxxx or an API Secret Key |
| API Username | Optional | The OpenCart API user name | Default or opencart_api |
| Image Base URL | Optional | Base URL used to load product images | https://your-opencart-domain.com (auto-detected if left empty) |
Get your OpenCart API credentials
In the OpenCart admin, API users are normally managed under System › Users › API. Create or open an API user, copy its key or secret, and make sure the IP address of the server running StoreNext JS is allowed to use the API. Menu names differ slightly between OpenCart 4.x versions, so follow the Setup Guide Doc link if your admin looks different.
Add the adapter folder
Copy the OpenCart adapter folder into the root-level adapters/ directory, next to the existing spurt folder and README.txt. Never place it in src, public or templates.
- If you received the adapter as a ZIP file, extract it and copy the extracted folder (not the ZIP) into
adapters/. - Avoid nesting such as
adapters/opencart/opencart/. - Then restart the development server so StoreNext JS discovers it.

Connect your store
After installation, sign in to the configuration dashboard and choose the commerce platform your store runs on. This is where you select the connector that links Store Next.js to your existing commerce backend.
Choose your commerce platform
Select a connector to continue setup.
Selected connector: OpenCart
Connector access may require membershipUnlock your connector
Get the membership that includes access to your selected connector and continue configuration.
After installation, sign in to StoreNext JS and connect Spurtcommerce from the Connect page. Follow the steps below to add the connection, confirm it and change or remove it later.
Open the Connect page
- 1Sign in to StoreNext JS with your email and password.
- 2Go to
/manage/connectors(breadcrumb: Home › Connect). - 3Find the Spurtcommerce card, described as “Connect your Spurtcommerce backend, Ref ID and App ID”.
- 4Click the + button on that card.
If other adapters are installed, their cards appear beside Spurtcommerce.

Fill in the Setup Configuration
The Setup Configuration dialog shows the Spurtcommerce logo, a Setup Guide Doc link and four fields.
- 1Enter the Backend API endpoint.
- 2Enter the Ref ID.
- 3Enter the Industry name.
- 4Enter the App ID.
- 5Click Connect. Use Cancel to close the dialog without saving.

Confirm the connection
You land on the Templates page (Home › Templates). Under Your Store, Spurtcommerce shows:
- An ACTIVE badge and a “Last updated” time.
- A Live indicator with a toggle that switches the store on or off.
- Configure and Disconnect buttons.
Below that, Store Template shows the current theme (Spurtcommerce, a clean B2B storefront layout) with a View your store button. Explore Templates lists the available templates (five in this setup, including Aurum, Flavor Cloak, Harvest Horizon and Spurtcommerce); the active one is marked Active.

Change or remove the connection
Click Configure to edit the four values. Click Disconnect to remove the connection; a Disconnect store dialog warns that the current template will be removed from your store and that you can reconnect and choose a template again anytime. Confirm with Disconnect, or click Discard to cancel.

Troubleshooting
| Problem | What to check |
|---|---|
| Spurtcommerce card does not appear | The spurt folder is directly inside adapters/; restart the dev server. |
| Connect fails | The endpoint includes the full path ending in /api/ and is reachable from the server running StoreNext JS. |
| Wrong or empty catalog | Re-check the Ref ID and App ID, since they identify which store the data comes from. |
| Changes do not show | Restart the dev server and reload the Templates page. |
After installation, sign in to StoreNext JS and connect Medusa JS from the Connect page. Follow the steps below to add the connection, confirm it and change or remove it later.
Open the Connect page
- 1Sign in to StoreNext JS with your email and password.
- 2Go to
/manage/connectors(breadcrumb: Home › Connect). - 3Find the Medusa JS card, described as “Connect your Medusa backend endpoint, publishable API key, and region ID”.
With the Medusa adapter installed, the page lists Medusa JS and Spurtcommerce.

Fill in the Setup Configuration
- 1Click the + button on the Medusa JS card.
- 2In the Setup Configuration dialog, enter the Backend API endpoint.
- 3Enter the Publishable API key.
- 4Enter the Region ID.
- 5Click Connect. Use Cancel to close the dialog without saving.
The dialog also has a Setup Guide Doc link to the Medusa setup documentation.

Confirm the connection
You land on the Templates page (Home › Templates). Under Your Store, Medusa JS shows:
- An ACTIVE badge and a “Last updated” time.
- A Live indicator with a toggle that switches the store on or off.
- Configure and Disconnect buttons.
Store Template may still show the template you used before (for example Spurtcommerce) until you pick another from Explore Templates. Use View your store to preview the storefront.

Change or remove the connection
Click Configure to edit the three values. Click Disconnect to remove the connection; a dialog warns that the current template will be removed from your store and that you can reconnect and choose a template again anytime. Confirm with Disconnect, or click Discard to cancel.
Troubleshooting
| Problem | What to check |
|---|---|
| Medusa JS card does not appear | The adapter folder is directly inside adapters/; restart the dev server. |
| Cannot reach the backend | http://localhost:9000 only works if StoreNext JS runs on the same machine or network; otherwise use the public HTTPS URL. |
| Products do not load | The publishable key is linked to the right sales channel and the region ID exists. |
| Authorization errors | Regenerate the publishable key and update it with Configure. |
After installation, sign in to StoreNext JS and connect WooCommerce from the Connect page. Follow the steps below to add the connection, confirm it and change or remove it later.
Open the Connect page
- 1Sign in to StoreNext JS with your email and password.
- 2Go to
/manage/connectors(breadcrumb: Home › Connect). - 3Find the WooCommerce card, described as “Connect your WooCommerce backend endpoint…”.
With the WooCommerce adapter installed alongside the others, the page lists Medusa JS, Spurtcommerce and WooCommerce.

Fill in the Setup Configuration
- 1Click the + button on the WooCommerce card.
- 2In the Setup Configuration dialog, enter the Backend API URL, ending in
/wp-json/wc/v3. - 3Enter the Consumer Key (
ck_…). - 4Enter the Consumer Secret (
cs_…). - 5Click Connect. Use Cancel to close the dialog without saving.
The dialog also has a Setup Guide Doc link to the WooCommerce setup documentation.

Confirm the connection
You land on the Templates page (Home › Templates). Under Your Store, WooCommerce should show an ACTIVE badge, a Live toggle that switches the store on or off, and Configure and Disconnect buttons, the same layout as for the other adapters.
Use View your store to preview the storefront, and pick a template from Explore Templates if you want a different look.
Change or remove the connection
Click Configure to edit the three values later. Click Disconnect to remove the connection; a dialog warns that the current template will be removed and that you can reconnect anytime.
Troubleshooting
| Problem | What to check |
|---|---|
| WooCommerce card does not appear | The adapter folder is directly inside adapters/; restart the dev server. |
| 401 or authentication errors | The key and secret were copied without extra spaces and the key’s user has the right permissions. |
| 404 on the API URL | Permalinks are not “Plain” and the URL ends in /wp-json/wc/v3. |
| Connection blocked | A host firewall or security plugin may be blocking REST API access. |
After installation, sign in to StoreNext JS and connect OpenCart from the Connect page. Follow the steps below to add the connection, confirm it and change or remove it later.
Open the Connect page
- 1Sign in to StoreNext JS with your email and password.
- 2Go to
/manage/connectors(breadcrumb: Home › Connect). - 3Find the OpenCart card, described as “Connect your OpenCart 4.x store via Ad…”.
With the OpenCart adapter installed alongside the others, the page lists Medusa JS, Spurtcommerce, OpenCart and WooCommerce.

Fill in the Setup Configuration
- 1Click the + button on the OpenCart card.
- 2In the Setup Configuration dialog, enter the OpenCart API Endpoint / Store URL.
- 3Enter the OpenCart Admin API Key / Secret.
- 4Optionally enter the API Username.
- 5Optionally enter the Image Base URL.
- 6Click Connect. Use Cancel to close the dialog without saving.
The dialog also has a Setup Guide Doc link to the OpenCart setup documentation.

Confirm the connection
You land on the Templates page (Home › Templates). Under Your Store, OpenCart should show an ACTIVE badge, a Live toggle that switches the store on or off, and Configure and Disconnect buttons, the same layout as for the other adapters.
Use View your store to preview the storefront, and pick a template from Explore Templates if you want a different look.
Change or remove the connection
Click Configure to edit the values later. Click Disconnect to remove the connection; a dialog warns that the current template will be removed and that you can reconnect anytime.
Troubleshooting
| Problem | What to check |
|---|---|
| OpenCart card does not appear | The adapter folder is directly inside adapters/; restart the dev server. |
| Connect fails | The endpoint URL is complete (including the route=extension/api/adapter/ part) and reachable from the server running StoreNext JS. |
| Authorization errors | The API key or secret was copied without extra spaces, and the StoreNext JS server IP is allowed in the OpenCart API settings. |
| Product images do not load | Fill in Image Base URL with your store’s base URL. |
Choose a storefront template
Once the connector is selected, browse the storefront templates available for your platform. Preview the design, choose the one that fits your project, and check the membership needed to access it.
Storefront templates
Preview a layout before you choose.
Found your design?
Get membership access to the templates available for your selected connector.
Configure and launch
After selecting your connector and template, complete the settings required by your installation. Use the actual dashboard and connector documentation to verify each configuration before launching your storefront.
Configure the connector
Enter the backend connection details and permissions required by the selected platform.
status: Awaiting configuration
Apply your storefront template
Select the template and apply the options supported by your project setup.
Review and test
Check product, category, navigation and other required storefront experiences before deployment.
Deploy your storefront
Follow the deployment instructions for your environment and verify the live storefront.
Using a different commerce platform?
Explore the available connectors and find the right Store Next.js setup for your commerce stack. Membership unlocks access according to the plan details.