Some wishes

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!
eugene
Posts: 12
Joined: 02 Apr 2016, 09:32

Some wishes

Post 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.

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

Re: Some wishes

Post 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-htm ... efault.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 :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

eugene
Posts: 12
Joined: 02 Apr 2016, 09:32

Re: Some wishes

Post 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.

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

Re: Some wishes

Post by aimeos » 02 Nov 2016, 19:10

The stock level calculation for selection products is now implemented as you've suggested:
https://github.com/aimeos/aimeos-core/c ... 1adad4cd3b
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply