If you create a customized meta title for any particular product, but do not also enter customized meta keywords and/or description, the customized title is ignored and ZC uses default HTML page title, and furthermore does not show the product as having customized meta tags in the admin.
Perhaps this is intentional behavior, but if so, it makes little sense to me. I'm using 1.3.7.
I believe these modifications fix it:
includes/modules/meta_tags.php, lines 211-212:
Code:
// custom meta tags per product
if (!empty($product_info_metatags->fields['metatags_keywords']) or !empty($product_info_metatags->fields['metatags_description']) or !empty($product_info_metatags->fields['metatags_title'])) {
admin/includes/modules/category_product_listing.php, line 177:
Code:
if (zen_get_category_metatags_keywords($categories->fields['categories_id'], (int)$_SESSION['languages_id']) or zen_get_category_metatags_description($categories->fields['categories_id'], (int)$_SESSION['languages_id']) or zen_get_category_metatags_title($categories->fields['categories_id'], (int)$_SESSION['languages_id'])) {
admin/includes/modules/category_product_listing.php, line 371:
Code:
if (zen_get_metatags_keywords($products->fields['products_id'], (int)$_SESSION['languages_id']) or zen_get_metatags_description($products->fields['products_id'], (int)$_SESSION['languages_id']) or zen_get_metatags_title($products->fields['products_id'], (int)$_SESSION['languages_id'])) {
Bookmarks