Skip to content

Jwatzkin77/catalyst-latest-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catalyst Essentials

This Catalyst project supports the lab work for BigCommerce Catalyst Essentials.

Prerequisites

  • Node.js 20 or later

Getting Started

Copy the starter branch.

npx create-next-app@latest -e https://github.com/bigcommerce-edu/lab-catalyst-faqs/tree/starter /path/to/working/directory

Product FAQs

Custom query/component to load "FAQs" on product detail page.

Requires metafields on a product matching the following details:

  • namespace: "FAQ"
  • permission: "read_and_sf_access"
  • value: JSON string matching the following schema:
{
  "question": "Question string",
  "answer": "Answer string"
}

Labs

Lab 1

Completed Lab 1 state

Full Lab 1 diff

Lab 2

Fresh setup:

npx create-next-app@latest -e https://github.com/bigcommerce-edu/lab-catalyst-faqs/tree/lab-faq-enhancements-start /path/to/working/directory

Completed Lab 2 state

Full Lab 2 diff

Finished State

Set up with all features complete:

npx create-next-app@latest -e https://github.com/bigcommerce-edu/lab-catalyst-faqs/tree/lab-faq-enhancements-complete /path/to/working/directory