Closed tropilex closed 1 month ago
BTW: I tried this setting but that didn't help. It also says it's for a different 'problem' but you can always try. ;-)
The category preview shows you the list of products as they appeared in the currently selected or default store view. If you chose to configure Magento to hide out-of-stock products in the frontend, yes, they will also be hidden in the category preview in the backend.
Indeed the second option "Ignore manual positions ..." is more for if you choose to show out-of-stock products in the frontend but you don't want to have an "just been out-of-stock product" manually positioned in the frontend. In that case only, the category preview is no longer "exactly what the frontend is showing".
Have you considered the following combination ?
Regards,
Hello @rbayet ,
Thanks for your reply. It is much appreciated!
Unfortunately we don't want to show out of stock products. Then we get too many questions about when the product will be back in stock.
I actually find it quite weird that you can only sort manually if you happen to have all products in stock at that specific moment. Otherwise the function is quite useless. This was also not necessary with the regular Position.
The only solution I see is to set ‘Display Out Of Stock’ to Yes. Then manually rank the category and then set ‘Display Out Of Stock’ to No again. And then hope it saves the positions correctly, even in the event of any minor change.
Is there any way to get the native Magento Position back again? That it is a bit more visually appealing now and you then drag and drop is unnecessary for us.
Regards, Kees
Hello @tropilex,
You can try the following :
<type name="Smile\ElasticsuiteCatalog\Model\Product\Indexer\Fulltext\Datasource\CategoryData">
<arguments>
<argument name="filterZeroPositions" xsi:type="boolean">false</argument>
</arguments>
</type>
smile_virtualcategory_catalog_category_product_position
Native positioning feature of Magento is back :
Products correctly sorted in the frontend :
Cheers,
Thanks. We will look in to it if this is a good solution for us!
Hello,
The out of stock products are not showed in the "Product List Preview and Sorting". So you cannot sort them manual.
So the problem is that when you manual sort the products and then new stock comes for a product that product is not sorted and will be showed last.
Magento setting Display Out of Stock Products = No
Magento Version: 2.4.6-p7
ElasticSuite Version: 2.11.9 (but this is on older versions also)
Environment: Production
Steps to reproduce
Expected result
Actual result
See the following screenshot. We have 9 products but only 3 available for manual sorting.