![]() |
Search by SKU only
I want to place a second search box on the home page that will allow a customer to search by SKU only. So, if a customer types: "12345" (without quotes) in this second search box, the search will only look for that exact value in the SKU field.
In other words, a search for keyword 12345, would return search results that include only the product with SKU 12345 and not the product with SKU 123456. Nor would it return a product with 12345 in any of the other fields such as description, manufacturer, etc. I have already added: Code:
<INPUT type="hidden" name="posted_data[by_productcode]" value="Y"> I've searched forums extensively for this exact feature but to no avail. Any assistance would be much appreciated. |
Please don't post questions in the Completed Custom Mods forum. Moving to Template Editing.
|
All times are GMT -8. The time now is 07:48 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.