Hi,
When cleaning merchants data feeds, I have been deleting the keyword column because I don't know what to do with it within PT.
Any ideas on how to take advantage of the keyword column found in some feeds. Thought about including it on product page, however it would probably look tacky and wordy if added to end of description, since there is no html to break up that area.
Is there a way to add it in or near the footer and if so, would it increase search results, or are results just pulled from name and description?
Thanks, Diana
Hi Diana,
You could certainly make use of it - but it would involve extending the database and modifying the registration and import routines to add a new field - "keywords" to your database. The instructions are in the following thread:
http://www.pricetapestry.com/node/313
Having added the field "keywords", and re-registered / re-imported any feeds that have this field, you would then have access to the variable on the product page, and could use this in the meta keywords field. This is currently set by the following code on line 54 of products.php
$header["meta"]["keywords"] = htmlentities($q,ENT_QUOTES,$config_charset);
To use the keywords in addition to the product name, try this:
$header["meta"]["keywords"] = htmlentities($q." ".$product["products"][0]["keywords"],ENT_QUOTES,$config_charset);
Cheers,
David.