Search by Product ID Magento 1.9


I’m wishing to be able to search by product ID from magento, I’m using the latest version of the algolia extension however you can search by sku but not product id. Our sku’s are quiet complex so sometimes its easier just to tell a customer over the phone search for sku 1234.

Has anyone tried this with magento?

I guess you’d have to set objectID as searchable attribute. Haven’t tried that yet, and you cannot do that via the admin interface I fear, so this means hooking/overwriting. We overwrite saveConfigurationToAlgolia in Algolia_Algoliasearch_Helper_Data to modify the config

1 Like