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

QTY box not showing #2334

Open
cooladm1n opened this issue Feb 15, 2023 · 3 comments
Open

QTY box not showing #2334

cooladm1n opened this issue Feb 15, 2023 · 3 comments

Comments

@cooladm1n
Copy link

Expected behavior

QTY box showing on Product page

Actual behavior

QTY box not showing on Product page

Steps to reproduce behavior

  1. Download latest cornerstone
  2. Stencil init \ stencil start
  3. Open Product page

Reason

{{#if theme_settings.show_product_quantity_box}}
- added {{#if theme_settings.show_product_quantity_box}} but show_product_quantity_box not exist in config.json

@bc-vlad-dlogush
Copy link
Contributor

Hello, @cooladm1n
Thank you for your inquiry, a ticket has been created for this issue.

@pvaladez
Copy link
Contributor

I'm not sure about the context of that PR, but Cornerstone currently uses {{product.show_quantity_input}} which is controlled by the BC control panel setting Settings > Display > Show Quantity Box for Products.

It would really helpful if there was a reference in docs where you find all the BC control panel settings and what handlebars context keys they map to.

@pvaladez
Copy link
Contributor

For anyone else who might find this issue, it looks like only Cornerstone 6.9 used {{#if theme_settings.show_product_quantity_box}}. It was reverted to the previous {{#if product.show_quantity_input}} code in Cornerstone 6.10 so it shouldn't be an issue going forward.

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

3 participants