Skip to content
This repository was archived by the owner on May 30, 2026. It is now read-only.

Latest commit

 

History

3,520 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cornerstone

This modification of BigCommerce's Cornerstone theme includes a custom product page called "multi-layout" which uses a minified version of product-view.html. It displays a "Combo to Cart" button for placeholder product IDs to all be added to the cart. It utilizes BigCommerce's Storefront Cart and GraphQL APIs, as well as additional custom JS and CSS.

Modified theme files:

- /assets
  - /js
   - app.js*
   - /theme
    - custom.js*
  - /scss
   - multi-layout.scss*
   - theme.scss*
- /templates
 - /components
  - /custom*
   - multi-button.html*
   - multi-view.html*
 - /pages
  - /custom*
   - multi-layout.html*

To apply this to a product on your store you'll need to include the custom field "is_bundled" with a value of true, as well as "foo" with the value for any Product ID you want added to cart and displayed on the page. Apply the "multi-layout.html" custom template to that product, and the changes should be seen on your storefront.

This repository was created for the article, "Using Storefront APIs to Create Custom Product Display Page Experiences".

About

This is a modification for the bigcommerce/cornerstone theme to display multiple products within the same PDP. Check out my article for more info on the BigCommerce Developer Blog!

Resources

Contributing

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages