I know it's possible to show product quantity for all items across the whole site, but I am hoping there is a way to show the product quantity for products in stock for certain categories (it may be possible through category templates). Or even having an option in the product to show the quantity when in stock (and still show "out of stock" when out of stock, and override the system's default.
I know it's possible to show product quantity for all items across the whole site, but I am hoping there is a way to show the product quantity for products in stock for certain categories (it may be possible through category templates). Or even having an option in the product to show the quantity when in stock (and still show "out of stock" when out of stock, and override the system's default.
Yes, you can do by creating new templates only. You can clone available templates in the following directory
I have seen in the CS-Cart admin there is Products > Categories > (select a category) > Views > Products Details View.
I have tried duplicating design/themes/THEME/templates/blocks/product_template
and selecting the new template for the category i want. But when I update the template, it doesn't take effect in the product view for the product in that category.
I have seen in the CS-Cart admin there is Products > Categories > (select a category) > Views > Products Details View.
I have tried duplicating design/themes/THEME/templates/blocks/product_template
and selecting the new template for the category i want. But when I update the template, it doesn't take effect in the product view for the product in that category.
When I go to Products > Categories > (select a category) > Views > Product details view:
the new product template which I created, appears.
So I select that product template and click Save.
I've made a small change to the product template file, but this is now showing on the frontend. So it's like the new template save hasn't worked. I'm assuming this is a caching issue? Could it be anything else?
When I go to Products > Categories > (select a category) > Views > Product details view:
the new product template which I created, appears.
So I select that product template and click Save.
I've made a small change to the product template file, but this is now showing on the frontend. So it's like the new template save hasn't worked. I'm assuming this is a caching issue? Could it be anything else?
In the configuration for the whole site, displaying the product quantity is turned off. What I want to do is display the product quantity on the product page for products in a certain category.
I have a new product template which is working for the products in a certain category, but I cannot seem to get the product quantity to display on the frontend, whilst having the rest of the site not showing product quantity for products.