Hi,
Does anyone know of a way to have the search results display all properties for a product regardless of whether they were a part of the search or not?
We have a number of true/false properties, i.e waterproof, heavy duty etc... along with brands that i have set to be searchable and added to the searchable properties fields. I have also set searchResultsProp to show so that when you do a search and select a property as part of that search it will write out the resulting match below the product, i.e include waterproof and under the results it says 'waterproof: 1'
What i am hoping to do is to write out all properties for that product regardless of whether they were searched on and there result. Therefore the same search would still produce the 'waterproof: 1' but would also include 'heavy duty: 0 brand: Pepsi'.
The plan is to then take these properties and via javascript turn them into a selectable filter menu for the results, thus showing them all regardless of the result gives me something to work with.
I am going through SearchScript.pl at present but any assistance would be greatly appreciated.
Regards,
Guy
Lock Shop Warehouse - Lead Developer
Dedicated to offering a huge range of discounted locks, padlocks & safes
Does anyone know of a way to have the search results display all properties for a product regardless of whether they were a part of the search or not?
We have a number of true/false properties, i.e waterproof, heavy duty etc... along with brands that i have set to be searchable and added to the searchable properties fields. I have also set searchResultsProp to show so that when you do a search and select a property as part of that search it will write out the resulting match below the product, i.e include waterproof and under the results it says 'waterproof: 1'
What i am hoping to do is to write out all properties for that product regardless of whether they were searched on and there result. Therefore the same search would still produce the 'waterproof: 1' but would also include 'heavy duty: 0 brand: Pepsi'.
The plan is to then take these properties and via javascript turn them into a selectable filter menu for the results, thus showing them all regardless of the result gives me something to work with.
I am going through SearchScript.pl at present but any assistance would be greatly appreciated.
Regards,
Guy
Lock Shop Warehouse - Lead Developer
Dedicated to offering a huge range of discounted locks, padlocks & safes
Comment