How to hide unique products in catalogue when they are sold?

How to configure and adapt Aimeos based shops as developer
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!
Ahmad
Posts: 72
Joined: 05 Jul 2017, 15:19

Re: How to hide unique products in catalogue when they are sold?

Post by Ahmad » 24 Jan 2021, 16:13

aimeos wrote: 07 Dec 2020, 11:02 It's not available in 2020.10 but we've implemented this feature in the dev-master branch now:
- https://github.com/aimeos/aimeos-core/c ... 78bf85eca1
- https://github.com/aimeos/ai-controller ... e918408557
- https://github.com/aimeos/ai-client-htm ... 3377886364

The feature will be part of the 2021.x releases
this changes don't work for products with type selection, because of for this products stock-level set in the Variants tab for every Variant, for this reason I was forced to set 1 for stock-level of main product to get it in queries that I want to get products with stock-level > 0, please change your code to work with selection type products.

Post Reply