Skip to content

Commit 51fd7d3

Browse files
committed
MAGE-878: config added
1 parent 8ac4aff commit 51fd7d3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

etc/adminhtml/system.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,13 @@
580580
]]>
581581
</comment>
582582
</field>
583+
<field id="include_non_visible_products_in_index" translate="label comment" type="select" sortOrder="55" showInDefault="1" showInWebsite="1" showInStore="1">
584+
<label>Include non visible products in index</label>
585+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
586+
<comment>
587+
Include non visible products in index. Default value is <strong>No</strong>
588+
</comment>
589+
</field>
583590
<field id="category_page_id_attribute_name" translate="label comment" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
584591
<label>Category page ID attribute</label>
585592
<comment>

etc/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<custom_ranking_product_attributes><![CDATA[{"_1600352070901_901":{"attribute":"in_stock","order":"desc"},"_1600352075148_148":{"attribute":"ordered_qty","order":"desc"},"_1600352080300_300":{"attribute":"created_at","order":"desc"}}]]></custom_ranking_product_attributes>
4747
<enable_visual_merchandising>0</enable_visual_merchandising>
4848
<category_page_id_attribute_name>categoryPageId</category_page_id_attribute_name>
49+
<include_non_visible_products_in_index>0</include_non_visible_products_in_index>
4950
</products>
5051
</algoliasearch_products>
5152
<algoliasearch_categories>

0 commit comments

Comments
 (0)