Submitted by idbrokersnick on Tue, 2010-08-03 02:12 in Price Tapestry
Is there a widget or something simple that I could use (not the greatest coder in the world i am afraid) that will allow my visitors to search products from a search box in wordpress ? Simple instructions appreciated.....cheers
Sure - there are a couple of options; firstly, if you just want to add a search box within your WordPress theme, you can simply use the following HTML:
(where /pricetapestry/ is the folder that you have Price Tapestry installed into, for example /shopping/ or whatever you have chosen to use)
That is by far the most straight forward approach. Alternatively, if you wanted to keep the search results within WordPress, I do have an external script that will enable you to do this. There are few steps involved, but firstly, I would suggest following the instruction on this page to implement searchExternal.php. This won't give you a search box, but just search results for a fixed query; however, it will tell me the "calling code" (the PHP that you add to your WordPress post / content unit to call searchExternal.php) required for the version I have that will give you a search box. If you wish to try that, email me the calling code you have come up with and I'll send you the version with the search box and the calling code required for that one...
Hi there,
Sure - there are a couple of options; firstly, if you just want to add a search box within your WordPress theme, you can simply use the following HTML:
<form method='get' action='/pricetapestry/search.php'>
<input type='text' name='q' />
<input type='submit' value='Product Search' />
</form>
(where /pricetapestry/ is the folder that you have Price Tapestry installed into, for example /shopping/ or whatever you have chosen to use)
That is by far the most straight forward approach. Alternatively, if you wanted to keep the search results within WordPress, I do have an external script that will enable you to do this. There are few steps involved, but firstly, I would suggest following the instruction on this page to implement searchExternal.php. This won't give you a search box, but just search results for a fixed query; however, it will tell me the "calling code" (the PHP that you add to your WordPress post / content unit to call searchExternal.php) required for the version I have that will give you a search box. If you wish to try that, email me the calling code you have come up with and I'll send you the version with the search box and the calling code required for that one...
Cheers,
David.