Latest News: (loading..)

ilocanosc

Members
  • Content count

    2
  • Joined

  • Last visited

1 Follower

About ilocanosc

Profile Information

  • Real Name
    Sig Cabrera
  1. In the setup instructions that were provided, Randelia may have forgotten to provide the code for the 'product_info' case in his ShowMETA function. Install as instructed per Randelia's "Installation.html". Finally, modify: /includes/functions/general.php REPLACE: case 'product_info': case 'product_review': $product_info_query = tep_db_query("select products_keywords, products_metadescription, products_pagetitle from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $id . "' and language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); if (tep_not_null($product_info['products_keywords'])){$Keywords=$product_info['products_keywords'];} if (tep_not_null($product_info['products_metadescription'])){$Description=$product_info['products_metadescription'];} if (tep_not_null($product_info['products_pagetitle'])){$Pagetitle=$product_info['products_pagetitle'];} break; WITH: case 'product_info': $product_info_query = tep_db_query("select products_keywords, products_metadescription, products_pagetitle from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $id . "' and language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); if (tep_not_null($product_info['products_keywords'])){$Keywords=$product_info['products_keywords'];} if (tep_not_null($product_info['products_metadescription'])){$Description=$product_info['products_metadescription'];} if (tep_not_null($product_info['products_pagetitle'])){$Pagetitle=$product_info['products_pagetitle'];} break; case 'product_review': $product_info_query = tep_db_query("select products_keywords, products_metadescription, products_pagetitle from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $id . "' and language_id = '" . (int)$languages_id . "'"); $product_info = tep_db_fetch_array($product_info_query); if (tep_not_null($product_info['products_keywords'])){$Keywords=$product_info['products_keywords'];} if (tep_not_null($product_info['products_metadescription'])){$Description=$product_info['products_metadescription'];} if (tep_not_null($product_info['products_pagetitle'])){$Pagetitle=$product_info['products_pagetitle'];} break; You can now also revert to the default META, TITLE values when blank.