Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new products page


knifeman

Recommended Posts

Hi all,

 

Google has finally paid me a couple visits. On the new products page, google has this for a description:

I am ON PRODUCTS_NEW as HEAD_DESC_TAG_WHATS_NEW and over ride the HEAD_DESC_TAG_ALL

 

I have to admit I am totally lost as to where to customize this. Do you think I should alter the header_tags.php here:

// PRODUCTS_NEW.PHP
 case ( strstr($_SERVER['PHP_SELF'],FILENAME_PRODUCTS_NEW) or strstr($PHP_SELF,FILENAME_PRODUCTS_NEW) ):
   if ( HEAD_DESC_TAG_WHATS_NEW!='' ) {
     if ( HTDA_WHATS_NEW_ON=='1' ) {
       $tags_array['desc']= HEAD_DESC_TAG_WHATS_NEW . ' ' . HEAD_DESC_TAG_ALL;
     } else {
       $tags_array['desc']= HEAD_DESC_TAG_WHATS_NEW;
     }
   } else {
     $tags_array['desc']= HEAD_DESC_TAG_ALL;
   }

   if ( HEAD_KEY_TAG_WHATS_NEW!='' ) {
     if ( HTKA_WHATS_NEW_ON=='1' ) {
       $tags_array['keywords']= HEAD_KEY_TAG_WHATS_NEW . ' ' . HEAD_KEY_TAG_ALL;
     } else {
       $tags_array['keywords']= HEAD_KEY_TAG_WHATS_NEW;
     }
   } else {
     $tags_array['keywords']= HEAD_KEY_TAG_ALL;
   }

   if ( HEAD_TITLE_TAG_WHATS_NEW!='' ) {
     if ( HTTA_WHATS_NEW_ON=='1' ) {
       $tags_array['title']= HEAD_TITLE_TAG_WHATS_NEW . ' ' . HEAD_TITLE_TAG_ALL;
     } else {
       $tags_array['title']= HEAD_TITLE_TAG_WHATS_NEW;
     }
   } else {
     $tags_array['title']= HEAD_TITLE_TAG_ALL;
   }

   break;

 

And if so please help me out with where to insert new text.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...