bigcommerce / stencil-cli

BigCommerce Stencil emulator for local theme development
https://developer.bigcommerce.com/stencil-docs
BSD 4-Clause "Original" or "Old" License
103 stars 140 forks source link

Cannot View Hidden Product & Category Pages with showHidden=true Query Param #1205

Open pvaladez opened 2 months ago

pvaladez commented 2 months ago

Expected behavior

Should be able to view a hidden product or category pages with stencil-cli using the showHidden=true query parameter.

Actual behavior

Hidden product/category pages show the 404 page when using the showHidden=true query parameter.

Steps to reproduce behavior

  1. Uncheck "Visible on Storefront" setting on a product or category
  2. Start site locally with stencil-cli
  3. View the product/category page with the showHidden=true query parameter.

Environment

Stencil-cli version stencil --version: 7.5.5

Node version node -v: v18.15.0

NPM version npm -v: 9.5.0

OS: macOS v12 / Monterey