FAQ
Product attribute is mapped but not indexed
Q: I added mapping "HawkSearch Label" = stock to "Magento Attribute" = quantity_and_stock_status. However, we receive field quantity_and_stock_status instead of stock based of the mapping configuration.
A: Follow these steps:
- Make sure that configuration is set correctly in Stores > Configuration > Hawksearch > Products
- Make sure that Global configuration value is not rewritten with Store level configuration value with old data
- If everything looks good from admin panel, also make sure that everything works fine on a lower level - in the configuration table itself
bin/magento config:show --scope[=SCOPE] --scope-code[=SCOPE-CODE] hawksearch_product_settings/products/custom_attributes
- If all previous steps look good, make sure that the message queue consumer has been restarted after the configuration was applied. Magento restarts consumers by default if configuration settings are saved in Admin panel. You can restart consumers manually
bin/magento queue:consumers:restart
Updated 3 days ago