Questions tagged [bigcommerce]

BigCommerce is an eCommerce platform. They provide a simple and extensible REST API and a storefront framework built on Node.js using Handlebars.js for templating. Use this tag to ask any BigCommerce API or theme development related questions irrespective of the language/technology you are working with.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

useCart - Get product modifiers added to the products - storefront-data-hooks - BigCommerce

I am using BigCommerce's storefront-data-hooks for creating the Cart functionality in my NextJS app. The issue I am facing is, how to get the product modifiers added to the product in Cart. For adding ...
Akash's user avatar
  • 1
0 votes
1 answer
50 views

execute function after a dynamic div is loaded

How do I make a JavaScript execute after a div section on the page is loaded? By using only standard JavaScript. Here is the div section in question, extracted from (https://hera-warm-demo....
AmineDiv's user avatar
0 votes
0 answers
73 views

How do I fix the invalid CSS error if I know SASS is working on other files?

I am trying to finish setting up Stencil for BigCommerce. After updating all dependencies, and running the sass-migrator division all issues have been resolved except for one file. The problem code is ...
skids89's user avatar
  • 163
0 votes
0 answers
13 views

Flexport (Deliverr) Website Fast Tag displaying on all products instead of specific ones in BigCommerce

I'm currently implementing the Flexport (formerly Deliverr) Website Fast Tag on my BigCommerce website, following the official documentation provided by Flexport(https://tags.deliverr.dev/guide/#...
UmairAli's user avatar
0 votes
0 answers
10 views

How to Display BigCommerce and Deliverr (Flexport) Shipping Options Together in Checkout Page?

I've integrated Deliverr (Flexport) with my BigCommerce store to expand my shipping options. However, I'm facing a challenge in displaying both BigCommerce's native shipping options and Deliverr's ...
UmairAli's user avatar
0 votes
0 answers
191 views

How can i fix a PHP Warning: Attempt to read property "slug" on bool caused by WP search?

Our website search function suddenly quit working this morning and no longer reads big commerce product's SKUs when showing search results. I spent the last couple of hours working with the WP engine ...
Luke Stephens's user avatar
0 votes
2 answers
33 views

How can I substitute a BigCommerce storefront route with my App route?

I'm trying to overwrite the original search of my BigCommerce site with a custom one made by me similar to this https://www.bigcommerce.com/apps/searchanise/ but I don't get how to show the search ...
michelem's user avatar
  • 14.5k
0 votes
2 answers
56 views

Links on menu not working on click, but work on right click?

Top level links on shaperssurf.com mega menu arent working on click but are working fine on right click ( Fins > Thruster Fins, Longboard Fins... etc) We have another site shapers.com.au that uses ...
Sam Johnston's user avatar
3 votes
0 answers
144 views

BigCommerce REST / GraphQL - Adding item to cart for Customer, but calling the customer's cart returns null

Either via using GraphQL or the Rest API, I create a cart for a customer (Either by sending customer_id in REST, or x-bc-customer-id in GraphQL). GraphQL: Create customer Impersonation Token and ...
FefeHern's user avatar
0 votes
1 answer
110 views

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 ...
Sam Andrews's user avatar
0 votes
0 answers
52 views

Custom Checkout with BigCommerce

i'm building a custom storefront with Nuxt 3 in SSR and using BigCommerce as e-commerce engine. I create a second channel for this and configured the domain. Via API I integrated almost everything, ...
sintj's user avatar
  • 804
0 votes
1 answer
44 views

BigCommerce PHP hello world app installation error with silex

I am new to the bigcommerce development. I am trying to create a bigcommerce app in localhost XAMPP server. I am getting this error. I have done making the localhost has https. created app in ...
Parthiv's user avatar
0 votes
1 answer
46 views

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-...
user254153's user avatar
  • 1,865
0 votes
0 answers
18 views

How to integrate a React homepage within a custom built Big Commerce ecommerce website?

One of my clients has a custom built eCommerce website built using Big commerce the version is outdated as they have done many custom builds as per their requirements and now they request to inject a ...
Mizy's user avatar
  • 69
0 votes
0 answers
35 views

How to stop a failed Akeneo job

I am configuring the Webkul BigCommerce plugin to connect to BigCommerce, but the job has failed. For some reason, the task is just sitting in the job queue. There's no option to stop it anywhere; ...
Gregory Brine's user avatar
0 votes
1 answer
45 views

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. ...
Devar-TTY's user avatar
  • 476
0 votes
0 answers
28 views

BigCommerce PHP hello world app intsall error

I am trying to create a BigCommerce app using this code. But when I try to run the code locally I am getting this error. Console Error: GET http://localhost/customer/current.jwt?app_client_id=***** ...
nirali's user avatar
  • 11
0 votes
0 answers
19 views

How to prevent users from logging in when their account is inactive/terminated in bigcommerce b2b edition?

The code below should prevent users with inactive or terminated accounts from logging in on the site, but it's not doing that. if (isB2BUser) { displayApprovalRequests(b3RoleId, b3CompanyId) ...
springoftwentyone's user avatar
0 votes
3 answers
54 views

Bigcommerce custom template for subcategory

Newbie here. I'm trying to create a custom template for a subcategory. I'm working locally using the stencil cli and Visual Studio Code. I created the following: templates/pages/custom/category/...
krskaggs13's user avatar
0 votes
1 answer
123 views

BigCommerce Speed Optimization alert for "Reduce unused JavaScript"

How to "Reduce unused JavaScript" in BigCommerce. There are some external links in the list like facebook and google. Here are some examples. <script src="https://connect.facebook....
Doodu's user avatar
  • 107
0 votes
0 answers
44 views

BigCommerce Page Builder Widgets - Can i set different default content to each of my starting items in an array?

I am creating widget templates and have an array in my schema that allows the user to select some images and text to build the widget out in the front end. Here is my schema for that particular part: &...
octavesapart's user avatar
0 votes
0 answers
10 views

How can I prevent returning duplicate results using BigCommerce API and Python datetimes

This program I've developed is supposed to return a list of all orders placed since the last time it was ran. It executes twice daily, once at 6AM and once at 12PM. Currently it compares order dates ...
Jack Morris's user avatar
0 votes
0 answers
46 views

How to use $ or jQuery in script manager in Big Commerce?

I am trying to use jquery in script manager in Big Commerce. But it always return $ is not defined error.
S N Sharma's user avatar
  • 1,446
0 votes
1 answer
71 views

How to change bigcommerce featured products to random products

I have a bigcommerce account, and in home html there are only 3 options to display products featured, new, and most popular Now, instead of featured products I want to display random products, so ...
Diana's user avatar
  • 1
0 votes
1 answer
30 views

How do I update a published widget on bigcommerce?

I recently published a widget on our bigcommerce site but made some changes to the code from my local afterward. How do I update it?
springoftwentyone's user avatar
0 votes
0 answers
22 views

Auth errors when starting a widget for bigcommerce

Need help installing widget builder. I cloned our repo for widgets, then I did npm i > npm run install-cli > widget init (I am sure that the auths are correct). Then after widget-builder create ,...
springoftwentyone's user avatar
0 votes
0 answers
18 views

SCSS Function encoding different on local vs Prod

I have the following SCSS function: $data-svg-prefix: 'data:image/svg+xml;utf-8,'; @if 'color' != type-of($color) { @warn 'The requested color - "' + $color + '" - was not recognized ...
Matthew Egan's user avatar
0 votes
0 answers
33 views

BigCommerce template - how can I get product search_keywords

The product Admin has the section 'Storefront Details' with 'Search Keywords' tab. Because of there is no any 'Tags' in BigCommerce product admin, then I'm using 'Search Keywords'. How can I get ...
Piotr Myszkier's user avatar
0 votes
1 answer
25 views

How do I develop a listed paid app for BigCommerce?

I want to develop a paid app to be used in BigCommerce and listed in their marketplace. Am I obligated to funnel payments for this app through BigCommerce or can the license payment be done outside of ...
Matan Gur-Lavie's user avatar
1 vote
1 answer
115 views

Can a robots.txt disallow use an asterisk for product id wildcard?

Is the following valid in my robots.txt file? Disallow: /*?action=addwishlist&product_id=* rather than writing individually for every product like below: Disallow: /*?action=addwishlist&...
Jimil's user avatar
  • 650
0 votes
1 answer
35 views

Get Variants in Picklist - Big commerce

I have a Bigcommerce store where we have products with variants. Different component parts are available in different colour and sizes and can be put together to build a product that's what I wanted ...
Hemant's user avatar
  • 1
0 votes
2 answers
196 views

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 }} ...
Jimil's user avatar
  • 650
0 votes
1 answer
43 views

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 ...
Jimil's user avatar
  • 650
1 vote
0 answers
74 views

I need a way to fetch the product filter options relevant to the user's current query

I am currently using bigcommerce as a headless cms to manage our products. I want to add a feature to our site that gives users options based on product category or other filters they've already ...
Agustin Manriquez Cruz's user avatar
0 votes
1 answer
14 views

How I can attach downloadable files to my digital products via csv file (import) Bigcommerce

I want to import downlodable digital products to my store via csv file. The files are already in my store, I added them via Cyberduck,so in csv file in Product File - 1 I added the names of files ( ...
Diana's user avatar
  • 1
0 votes
0 answers
101 views

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 ...
Akash Rajendran's user avatar
1 vote
0 answers
66 views

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 ...
Mubeen Ahmed's user avatar
1 vote
0 answers
19 views

Can you restrict payment options by price point for BigCommerce?

Does anyone know if you are able to hid payment methods on your Bigcommerce site by price point. I have a payment option that I do not want visible for users if their cart is less than $50.00. I have ...
KTJ's user avatar
  • 11
0 votes
0 answers
48 views

Big Commerce - Infinitescroll

I'm trying to make BigCommerce's product list page infinitely scrollable. The page begins with the currently scrolled products instead of loading all previous products until the current position, ...
Neel Lakdawala's user avatar
0 votes
0 answers
110 views

Issue with Javascript Mutation Observer on BigCommerce Checkout

I have recently written my own JavaScript Address validator and auto complete (deployed to script manager) for the BigCommerce one-step checkout, this works well when checking out as guest. You can ...
Jeremy Leys's user avatar
0 votes
0 answers
143 views

Is there a way to have sub arrays in a custom bigcommerce widget?

According to the BigCommerce docs The array type must live at the top level of the schema, I'm assuming this is limited because they're not allowing recursion. I've included my schema as well, anyone ...
asherrard's user avatar
  • 683
0 votes
0 answers
19 views

"Out of Stock" under product search results, when product has modifiers

So we make changes to a product, specifically adding modifiers, and when you search for said product in the front end, it comes up out of stock. The inventory is fine, but we tested it, and when ...
Alex Tomas's user avatar
0 votes
1 answer
30 views

Elasticsearch: Query nested array

I'm trying to write multi-fields queries for searching function, but there are some problems with full-text search in nested array My data has format like this: { "name": "[Sample] ...
Ha Do Manh's user avatar
0 votes
0 answers
137 views

how to get the bigcommerce api for cart data

I am read the office doc https://developer.bigcommerce.com/api-reference/89019d490c6f8-carts but i can find the cart data end point. get the singe cart data need cartid Get a Cart GET https://api....
Er Sanjay's user avatar
0 votes
0 answers
45 views

Bigcommerce custom images from Stencil

Firstly, wow, Bigcommerce's own forums are dead as heck, huh? Anyway, I've been working on my theme locally within stencil and for the most part it's been going fine. I did add a grip of images to the ...
Steve McGuigan's user avatar
1 vote
1 answer
67 views

JavaScript not executing after paginating through products in BigCommerce Cornerstone theme

I have a small bit of JavaScript which is not firing after navigating through paged results in a BigCommerce Cornerstone theme (using Cornerstone 6.7.0). I've added the following to the onReady() ...
Mitchell Adams's user avatar
0 votes
0 answers
74 views

Big Commerce / CyberSource Tokens

WE are looking to get payment card tokens on every order. I believe we only get the payment tokens on registered users but need them for all orders. Is it possible to set up CyberSource to provide ...
Brian Larson's user avatar
0 votes
0 answers
25 views

How to write additional API req (i.e for getting all Brands ) from BigCommerce API using Nextjs commerce (strter-template)?

I started with an e-commerce project using Nextjs commerce integration with BigCommerce. The store is already setup, end all is connected. All works fine, but I don't understand how can I write new ...
Nedim's user avatar
  • 157
0 votes
1 answer
65 views

How to generate one cart with multiple items using BigCommerce cart API in nextjs

I am using BigCommerce API with Nextjs and I am trying to understand how cart API works from BC ( https://developer.bigcommerce.com/api-reference/20c2c55c1763f-create-a-cart ). When I implement it as ...
Nedim's user avatar
  • 157
0 votes
0 answers
256 views

Why am I getting CORS error when API return data without crashing app [duplicate]

I am starting with the Nextjs app and BigCommerce API. I start testing the best ways to fetch data, and currently, I am testing react-query with SSG. I am not sure why am I getting a CORS error when ...
Nedim's user avatar
  • 157

1
2 3 4 5
34