Products out of stock
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Products out of stock
Hello!
is there an easy way to avoid displaying products that are out of stock?
Thank you!
is there an easy way to avoid displaying products that are out of stock?
Thank you!
PHP 7.2.28
Laravel Framework 6.18.1
Aimeos 2019.10
Laravel Framework 6.18.1
Aimeos 2019.10
Re: Products out of stock
Not directly. Stocks and products are separated because stocks are highly volatile and would prevent caching. Thus, they are added via Javascript by a separate request and that makes it more difficult to show only products that are in stock.
The "easiest" way would be to hide products via CSS in the list view depending on the stock request (which returns Javascript, so you can add your code to the template easily).
The "easiest" way would be to hide products via CSS in the list view depending on the stock request (which returns Javascript, so you can add your code to the template easily).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Products out of stock
Okay, got it!
Thank you very much for the answer!
Thank you very much for the answer!
PHP 7.2.28
Laravel Framework 6.18.1
Aimeos 2019.10
Laravel Framework 6.18.1
Aimeos 2019.10