Cannot View Hidden Product & Category Pages with showHidden=true Query Param
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
- Uncheck "Visible on Storefront" setting on a product or category
- Start site locally with stencil-cli
- View the product/category page with the
showHidden=truequery 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
This would be a good feature to add. Walked into this myself during test some product specific implementations. Can't test in local until they're visible online.
Just wanted to add... this did work with stencil-cli in the past... not sure which version of stencil-cli the issue was introduced on though.