Update instructions for updating Header Tags SEO version 3.3.5 to Header Tags SEO V 3.3.6 by Jack_mcs - oscommerce-solution.com

===================================================================
1 - Run the following sql command on the database using whatever
method you usually use (like phpmyadmin):

ALTER TABLE `headertags_keywords` CHANGE `google_last_position` `google_last_position` TINYINT( 4 ) NOT NULL DEFAULT '0';


===================================================================
2 - In admin/categories.php around line 404, 

FIND:

              tep_db_query("insert into products_description (products_id, language_id, products_name, products_description, products_url, products_viewed, products_head_title_tag, products_head_title_tag_alt, products_head_title_tag_url, products_head_desc_tag, products_head_keywords_tag, products_head_breadcrumb_text, products_head_listing_text, products_head_sub_text, products_head_additional_words) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_head_title_tag']) . "', '" . tep_db_input($description['products_head_title_tag_alt']) . "', '" . tep_db_input($description['products_head_title_tag_url']) . "', '" . tep_db_input($description['products_head_desc_tag']) . "', '" . tep_db_input($description['products_head_keywords_tag']) . "', '" . tep_db_input($description['products_head_breadcrumb_text']) . "', '" . tep_db_input($description['products_head_listing_text']) . "', '" . tep_db_input($description['products_head_sub_text']) . "', '" . tep_db_input($description['products_head_additional_words']) . "', '" . tep_db_input($description['products_url']) . "', '0')");
              
REPLACE WITH:
              
              tep_db_query("insert into products_description (products_id, language_id, products_name, products_description, products_url, products_viewed, products_head_title_tag, products_head_title_tag_alt, products_head_title_tag_url, products_head_desc_tag, products_head_keywords_tag, products_head_breadcrumb_text, products_head_listing_text, products_head_sub_text, products_head_additional_words) values ('" . (int)$dup_products_id . "', '" . (int)$description['language_id'] . "', '" . tep_db_input($description['products_name']) . "', '" . tep_db_input($description['products_description']) . "', '" . tep_db_input($description['products_url']) . "', '0', '" . tep_db_input($description['products_head_title_tag']) . "', '" . tep_db_input($description['products_head_title_tag_alt']) . "', '" . tep_db_input($description['products_head_title_tag_url']) . "', '" . tep_db_input($description['products_head_desc_tag']) . "', '" . tep_db_input($description['products_head_keywords_tag']) . "', '" . tep_db_input($description['products_head_breadcrumb_text']) . "', '" . tep_db_input($description['products_head_listing_text']) . "', '" . tep_db_input($description['products_head_sub_text']) . "', '" . tep_db_input($description['products_head_additional_words']) . "')");

    
===================================================================
3 - In admin/includes/functions/header_tags.php  

REMOVE:

$path = str_replace("https:", "http:", $path);

===================================================================
4 - In admin/includes/functions/general.php  

CHANGE:

require('includes/functions/header_tags_general.php');

TO

require('header_tags_general.php');

===================================================================
5 - In admin/manufacturers.php, 

FIND (2 places - only partial string shown here):

tep_draw_textarea_field('manufacturers_description

CHANGE TO:

tep_draw_textarea_field('manufacturers_htc_description


FIND (2 places - only partial string shown here):

tep_draw_textarea_ckeditor('manufacturers_description

CHANGE TO:

tep_draw_textarea_ckeditor('manufacturers_htc_description

===================================================================
6 - In product_info.php

FIND:

</div>

</form>

ADD ABOVE:

===================================================================
7 - In index.php

FIND:

<div class="row">
  <?php echo $oscTemplate->getContent('index'); ?>
</div>

ADD BENEATH:

<?php
  /*** Begin Header Tags SEO ***/
  $OSCOM_Hooks->register('header_tags_seo');
  echo $OSCOM_Hooks->call('header_tags_seo', 'show_sub_text');
  echo $OSCOM_Hooks->call('header_tags_seo', 'show_social_icons');
  /*** End Header Tags SEO ***/
?>
