Make no active links to categories where there is no product

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
27bit.ru
Posts: 36
Joined: 15 Jan 2017, 05:36

Make no active links to categories where there is no product

Post by 27bit.ru » 24 Jan 2017, 03:35

Hi.
My cms typo3 7.6.15, aimeos 16.10.3, bootstrap pack 6.2.16, Linux, PHP Version 5.6.26, mysql 5.6.31

Aimeos Shop - Catalog Filter.
Is it possible to make a reference to the inactive category, where there is no product, using TypoSettings?

If I do with CSS(pointer-events: none;), then the property does not work: hover
It is very important to me.

Is it possible with the help of the settings, disable links in empty directories?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Make no active links to categories where there is no pro

Post by aimeos » 25 Jan 2017, 10:23

There's no configuration setting for disabling category links with no products but you can overwrite the catalog/count/tree template and do that by using Javascript:
https://github.com/aimeos/ai-client-htm ... efault.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply