Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pvaladez opened this issue May 6, 2024 · 2 comments

Comments

@pvaladez
Copy link

pvaladez commented May 6, 2024

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 pvaladez changed the title Cannot View Hidden Product Pages with showHidden=true Query Param Cannot View Hidden Product & Category Pages with showHidden=true Query Param May 6, 2024
@deepak-aupchaarik
Copy link

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.

@pvaladez
Copy link
Author

pvaladez commented Oct 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants