Questions tagged [bigcommerce-stencil-cli]
28 questions
2
votes
2 answers
Unable to install BigCommerce Stencil CLI with NPM
I'm trying to install the BigCommerce Stencil Cli using NPM. I followed the instructions on the bigcommerce website but when I try to install the Stencil CLI I get errors.
I'm not experienced with NPM, all I want to do it add a style.css file to a…

digitalhouse
- 21
- 1
1
vote
0 answers
How to logout user from BigCommerce Store, If user is already logged out from eshop developed in NextJS
I'm using this api to login user from our eshop web application developed in NextJS to BigCommerce store to navigate user on BigCommerce Native Checkout page.
My scenario is, if user some how logged out from our eshop but still having session on…

Mubeen Ahmed
- 11
- 1
1
vote
1 answer
Cannot Find Module ' Webpack' Bigcommerce
I am trying to connect to Bigcommerce Stencil. I am able to pull and download but having trouble with pushing as I kept getting a no webpack module error. I have tried several things like google for hours but no lack.
rm -rf node_modules
rm -f…

JeVic
- 681
- 1
- 11
- 33
1
vote
1 answer
stencil init ---> not ok -- TypeError: this.breakLines(...).flat is not a function
While setting up local in my machine(windows), I am getting following error on running "stencil init"
C:\Users>stencil init
not ok -- TypeError: this.breakLines(...).flat is not a function
Please visit the troubleshooting page…

Singh
- 21
- 1
1
vote
1 answer
Check multiple values in an array/object in bigcommerce using stencil
I am trying to find the values in an array if the values are there need to remove and print those values. I had tried the below code but it is not working. Please advise
color_filter => color bowl_filter1 => bowl
{{#and (filter (split…

Sabareesh
- 121
- 4
0
votes
1 answer
Troubleshooting 'npm install' Error in Bigcommerce Theme Directory on Windows PC
System Information:
Node.js version: 20.5.0
npm version: 9.8.1
Chocolatey version: 2.2.0
Git version: 2.41.0.windows.3
Issue Encountered:
When trying to run "npm install" in my Bigcommerce theme directory (C:\Website\Stencil for…

Sam Andrews
- 1
- 1
0
votes
1 answer
BigCommerce get featured blog based on blog post tag
I am trying to get the featured blog post based on the "featured" tag assigned to it. Below are my code logic. Is there any issue on the code below? I only want to display one featured blog-post in blog page. Using below code I am getting error in…

user254153
- 1,855
- 4
- 41
- 84
0
votes
1 answer
BigCommerce Templating - How to grab a list of all products
I'm working on a custom Product Selector page for BigCommerce, and the first step is to grab a list of all the products on the site.
For the life of me, I can't find out information on how to do this.
Is there a way to grab a list of all items, and…

Devar-TTY
- 476
- 5
- 22
0
votes
2 answers
How to get full url of the current page in bigcommerce stencil code?
I'm trying to access either below:
https://testing.com/cat/?page=5
or
/cat/?page=5
via the bigcommerce object. However, after research I only found the below code:
{{ settings.request.absolute_path }}
This will only return me /cat/
but I'm missing…

Jimil
- 650
- 2
- 14
- 37
0
votes
1 answer
how to edit resourceHints links from bigcommerce?
I need bit of help here as I don't know where to edit {{resourceHints}} files which automatically added to top section of bigcommerce website.
I also found this resource from BigCommerce but don't know what to do further from here: bigcommerce…

Jimil
- 650
- 2
- 14
- 37
0
votes
0 answers
How to prevent dropdown mini-cart(cart-preview.html) after clicking on cart icon in bigcommerce cornerstone theme?
If i try to click inside the dropdown div it is closing automatically. I am trying to close the dropdown div when it is clicked outside the div. How to prevent it when click clicking inside the dropdown div? I need to prevent the dropdown because i…

Akash Rajendran
- 1
- 1
0
votes
0 answers
big commerce Wish Lists not exposed on category template
I am trying to add wish list functionality to the Big Commerce category.html. I have exposed wish lists to the page using the below frontmatter, but customer.wishlists always returns null instead of a list of wish lists (my user has two…

moody1208
- 437
- 1
- 4
- 19
0
votes
0 answers
BigCommerce: Change My Orders to display orders by Order Date desc instead of Order ID
We're thinking about loading in some prior order data from another system to allow our customers to see them in one place under My Orders section of My Account. We can back date the order when creating via API, they are assigned a new BC order ID…

jipster
- 1
0
votes
0 answers
Change item currency in cart Big Commerce
Using {{cart.items.0.price.currency}} in the "/cart.php" page of my store, I can see the currency of each item in my cart.
Occasionally, some of them are the wrong currency and I'd like to change them. (E.g. they're USD and I want them to be…
0
votes
0 answers
Stencil Bigcommerce Theme. I'd like the product page thumbnail images to scroll with a finger swipe
I have Stencil Theme "Meros" in Bigcommerce
my store https://figureskatingstore.com/
In mobile version i have problem
I'd like the product page thumbnail images to scroll (left, right) with a finger swipe.
Currently thumbnail images change by…