Show min price for selection product in catalog

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MikaelNazarenko
Expert
Posts: 274
Joined: 27 Jun 2019, 16:19

Show min price for selection product in catalog

Post by MikaelNazarenko » 10 Nov 2021, 15:21

Hello community!

Does anybody know how to show lowest price for selection product (including selection product and variants) ? I need to display it not inside product detail page but on catalog list page! There possible problems with DB speed and so on because additional data need to retrieve ? I mean variant products and their prices..

I use last LTS version.

Thanks !

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

Re: Show min price for selection product in catalog

Post by aimeos » 12 Nov 2021, 07:45

You should add the minimum price of all variants to the selection product in the admin backend. Otherwise, sort by price won't work correctly and just for displaying the minmum price in the list view, this will slow down your response times.

Maybe it would be possible to add the cheapest prices automatically to the selection product if it's saved in the admin backend.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply