Re: Adding a column from products table to searchable index so that all products with specific column value can be searc
Posted: 14 May 2022, 07:13
If you create a decorator for the product manager, you can also search for new properties:
https://aimeos.org/docs/latest/models/e ... /#easy-way
https://aimeos.org/docs/latest/models/e ... /#easy-way
Code: Select all
$manager = \Aimeos\MShop::create( $context, 'product' );
$filter = $manager->filter()->add( 'tags', '==', 'Best Seller' );
$items = $manager->search( $filter );