Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules: Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#3569 by eugene
25 Oct 2016, 06:38
Hello,

There are a few wishes on the improvement of aimeos.

1) Number of items in stock for Selection type products displayed for the product itself. I think it is not correct. It should be the number of items in stock for associated products.

2) It is desirable to be able to display the exact number of products in stock at detailed viewing.

3) It is convenient to be able to automatically exclude from the list view out of stock products.

Best regards,
Eugene.
#3571 by aimeos
25 Oct 2016, 10:08
eugene wrote:There are a few wishes on the improvement of aimeos.


Great and thank you very much! We love to get such feedback :-)

eugene wrote:1) Number of items in stock for Selection type products displayed for the product itself. I think it is not correct. It should be the number of items in stock for associated products.


You mean it should be the sum of the stock levels of all associated articles?

eugene wrote:2) It is desirable to be able to display the exact number of products in stock at detailed viewing.


That's already possible. You have to adapt the template for the catalog stock component to display the raw numbers instead: https://github.com/aimeos/ai-client-html/blob/master/client/html/templates/catalog/stock/body-default.php

eugene wrote:3) It is convenient to be able to automatically exclude from the list view out of stock products.


Fetching the stock levels is an asynchronous HTTP request which inserts the information after the page is loaded via Javascript. You could modify the template for the catalog stock component to hide out of stock products.

If you are able to change the catalog stock template and add two new configuration options for displaying raw numbers and hiding out of stock products, we would love to see a pull request on Github from you :-)
#3572 by eugene
25 Oct 2016, 19:24
You mean it should be the sum of the stock levels of all associated articles?


Yes, the sum of the stock levels of all articles, associated with "Selection" product.