You are here:  » Sponsored Results - Category Specific

Support Forum



Sponsored Results - Category Specific

Submitted by Butza Kefali on Sun, 2007-07-22 01:03 in

David

Am considering purchasing your script, couple of questions before I do.

1. How many merchants and how many product dexcriptions do you believe your script can handle?

2. I would like to add categoty specific sponsored results at the bottom of each result page, can this be done as part of your script or is it a separate programming / webmasters issue ?

Sincerely

RJH

Submitted by scorpionwsm on Sun, 2007-07-22 02:50

Hopefully this saves David typeing.

Merchants and descriptions would come down to your database, people are having a million or more records.

If your talking about google ads or ppc, then this will be specific sponsored results, if your talking about anything else, other than PPC ads then havent got a clue on that one.

Submitted by support on Sun, 2007-07-22 03:00

Hi RJH,

As already mentioned, the number of products that can be supported is entirely down to the capabilities of your hardware. Most shared hosting accounts shouldn't have a problem with several hundred thousand products, and some users (mostly running on a dedicated server) run Price Tapestry sites with over a million products. Please see the following thread for discussion about using the script with a very large number of products:

http://www.pricetapestry.com/node/732

Regarding category specific sponsored results at the bottom of each result page; yes this is something you could do quite easily, provided that the category information you want to base your sponsored results on is available. If you only wanted to display sponsored results on the search result pages for each category, for example from the demo site:

http://www.webpricecheck.co.uk/category/DVD-Players/

...then you could do this by adding code to the end of html/searchresults.php along the following lines:

<?php switch($parts[1]): ?>
<?php case "Category A"?>
... Category A sponsored results HTML here ...
<?php break; ?>
<?php case "Category A"?>
... Category B sponsored results HTML here ...
<?php break; ?>
<?php default: ?>
... Default sponsored results HTML here ...
<?php break; ?>
<?php endswitch; ?>

Alternatively, if you are displaying sponsored results in response to a URL that contains a keyword that you wish to be the category, then you could always construct the URL including the $parts[1] variable. I'll be able to give a more precise answer if you can let me know how you are pulling in the sponsored results, including example code if possible. If you don't want to post it to the forum you can always email me - reply to your forum registration email will get to me!

Hope this helps!
Cheers,
David.