eCommerce construction > How-to questions

How to dynamically show categories based upon whether they contain products

(1/1)

dharding:
Not sure if this is possible or how complex it would be to implement. If this feature already exists, my apologies but I did not find the appropriate settings in Admin.

Rather than displaying categories in menus, the site map, etc., based upon a manual setting in Admin, it would be great to be able to show/hide categories and subcategories dynamically based upon whether there are in-stock products assigned to them.

This would make managing storefront display much easier, as when a category gets sold out, it simply disappears from the store front until such time an active in-stock product is assigned or re-assigned to that category.

Thank you.

eCommerce Core:
There is no such setting or feature to disable category based on products stock status.

I see 1 problem with this approach. If you care about SEO, this will affect your product/category search in the search engines if a product stock will change with long intervals.

This feature can be added easily with extra check in the data model. This check can validate for categories with present products in them and only show categories with available products.

You can use "No stock auto disable" to turn products off automatically.


dharding:
Thank you for the reply. I already have individual products set to auto-disable; it's the category visibility I wish to be able to control automatically.

SEO is not overly important to me, as the majority of traffic to the storefront will be sent from specific websites. I'm not relying on organic traffic; any organic traffic is a bonus.

abantecart:
We can consider this for upcoming versions.

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod