wordpress & PT
Hi David
Total newbie here. First of all I would like to say thank you for the excellent script and support, searching through the forums I can see the support and help you've given to everybody is amazing.
Couple of things I need your help on:
1. I've integrated my wordpress site with PT using searchExternal.php and it's working fine. I would now like to have min/max price for some search queries e.g. display chairs priced between £200 and £400.
To achieve the above do I need the min/max mod mentioned here: http://www.pricetapestry.com/node/603 and if so could you please send that to me and how do I use it.
At the moment this is what I'm using in my wordpress posts/pages:
<?php
$common_baseHREF = "http://www.mysite.co.uk/shop/";
$common_path = "/home/sites/mysite.co.uk/public_html/shop/";
$_GET["q"] = "chair";
require($common_path."searchExternal.php");
?>
2. How do I display the featured items on a wordpress post/page.
3. Is it possible to have more than one set of featured items and display those on wordpress pages.
Thanks
Hi Alan,
I've posted updated external scripts here...
searchExternal.php now supports minPrice and maxPrice; and there is a new featuredExternal.php script supporting different sections as discussed...
Hope this helps!
Cheers,
David.
Hello Alan,
Welcome to the forum and thank you for your comments!
I need to update searchExternal.php and pricesExternal.php in line with the latest distribution. They still work (as you have discovered), but in particular, I will modify searchExternal.php to support minPrice and maxPrice parameters.
I will also post a featuredExternal.php, and you can certainly make this support different featured sections based on the sort of modification described in this thread:
http://www.pricetapestry.com/node/3243
As this feature is a popular request, I will incorporate it into featuredExternal.php so that it is compatible with or without a specified section.
I'll publish these tomorrow - and I'll update this thread once they're online...
All the best!
Cheers,
David.