You are here:  » I don't want product pages

Support Forum



I don't want product pages

Submitted by gregor on Fri, 2011-03-11 06:03 in

I would like to set up my site with category and search pages only - no product pages. I want to load my database with all the normal product info, but I don't want individual product pages. I know how to do this with the basic scripts, but I'm not sure if I can control the sitemap. If I remove all links to product pages from the main scripts, what else will I need to do to totally remove the product pages from my site?

Also - do category, merchant, etc. pages go into the sitemap? If I don't use product pages will there be anything in my sitemap worth keeping?

Thank You

Submitted by support on Fri, 2011-03-11 08:55

Hi Gregor,

The sitemap deals exclusively with the product pages, so if you're not using them simply remove sitemap.php from your site (or at least don't register it anywhere!)

To replace any links to the product page with direct links to the merchant, one change in includes/tapestry.php will do it. In that file, look for the following code at line 50:

    global $config_useRewrite;

...and REPLACE that with:

    global $config_useRewrite;
    return tapestry_buyURL($product);

Cheers,
David.
--
PriceTapestry.com