stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

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

Open pvaladez opened this issue 1 year ago • 2 comments

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

pvaladez avatar May 06 '24 20:05 pvaladez

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.

deepak-aupchaarik avatar Jul 28 '24 11:07 deepak-aupchaarik

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.

pvaladez avatar Oct 30 '24 01:10 pvaladez