I'm not sure if this is a 'bug' or not, but it looks like one....
Most of my Sub-Categories have multiple products. For these product pages, the Title MetaTags are correct.
However, I have one Sub-Category under which there is only one product. I have the configuration for my site set such that if there is only one product in a Sub-Category, then it will show the product page for that product.
For this particular product page, the Title MetaTag shows "It's Free" in the Title, even though I have that product set to "Call For Price". Setting "Meta Tags - Set Price In Title" to 0 (off) makes no difference. The phrase "It's Free" always shows in the Title MetaTag for this product page.
I found that if I delete "META_TAG_PRODUCTS_PRICE_IS_FREE_TEXT" from the statement in line (approximately) 236, of the meta_tags.php file, which is located in /includes/modules/ subdirectory, then this prevents this phrase "It's Free" from being displayed.
It appears that this phrase, held in the variable "META_TAG_PRODUCTS_PRICE_IS_FREE_TEXT" is being displayed incorrectly, due to a problem in the code around line 236 of that meta_tags.php file.
I don't know PHP programming well enough to fix this problem (other than to take the variable "META_TAG_PRODUCTS_PRICE_IS_FREE_TEXT" out of the line, as I did. Of course, this would also 'break' the code, if I do want that variable to be displayed on a product page.
Can someone help me out to fix this problem (correctly)?
John Rayfield, Jr.
www.rayfield.net




