forcedotcom / forcedotcom/b2b-commerce-on-lightning-quickstart

quickstart-create-and-setup-store "B2B Commerce" template error

Open
#37 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
191
Forks
211
PR merge metrics
No merged PRs in 30d

Description

running ./quickstart-create-and-setup-store.sh products the following error:

```
ERROR running force:community:create: The specified template does not exist.

Store not yet created, waiting 10 seconds...
Querying Data... done
ERROR running force:data:soql:query:
SELECT Id FROM WebStore WHERE Name='balance' LIMIT
^
ERROR at Row:1:Column:16
sObject type 'WebStore' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
```

when I list my available templates this is what I get:
```
sfdx force:community:template:list
=== Site list template result
TEMPLATE NAME PUBLISHER
───────────────────────────── ──────────
Build Your Own Salesforce
Help Center Salesforce
Customer Account Portal Salesforce
Aloha Salesforce
Customer Service Salesforce
Build Your Own (LWR) Salesforce
Salesforce Tabs + Visualforce Salesforce

```
Looks like script is broken, has anybody else run into this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with quickstart-create-and-setup-store.sh and reproduce the failure using the products argument. Compare the template configured by the script with the output of sfdx force:community:template:list, then verify that the script completes without the template error and can query the created WebStore.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.