SyliusElasticsearchPlugin
SyliusElasticsearchPlugin copied to clipboard
Argument 5 (price) issue
Looks like other people have the same issue when using autocomplete:
Argument 5 passed to BitBag\SyliusElasticsearchPlugin\Controller\Response\DTO\Item::__construct() must be of the type string, null given, called in /var/www/html/xxxxx/vendor/bitbag/elasticsearch-plugin/src/Controller/Action/Api/ListProductsByPartialNameAction.php on line 72
Any idea?
The problem is also because of multiple channels. So if there more channels, products coming with price null for the current channel.
Anybody have an idea how to get in the product finder repository the rule to get only products from the current channel?
How about decoration and injection of ChannelContext?