Option Types v2 - Remove (the standard, unhandy and now obsolete) "Products Attributes"

- Back to Attribute Manager Installation guide

- Back to Main Option Types v2 ReadMe



1) Open admin/products_attributes.php
Find (Around line 20 - with Option Types v2 Installed)
  $attribute_page = (isset($HTTP_GET_VARS['attribute_page']) && is_numeric($HTTP_GET_VARS['attribute_page'])) ? $HTTP_GET_VARS['attribute_page'] : 1;
Comment (or Remove) that line.
//BOF - Zappo - Option Types v2 - AttribManager - ONE LINE - Comment next line to Remove (unhandy) Attributes Page
//  $attribute_page = (isset($HTTP_GET_VARS['attribute_page']) && is_numeric($HTTP_GET_VARS['attribute_page'])) ? $HTTP_GET_VARS['attribute_page'] : 1;


Comment or Remove from around line 84 until around line 112:
Find (Around line 84 - with Option Types v2 Installed)
     case 'add_product_attributes':
Start Commenting (or Removing) From that line:
//BOF - Zappo - Option Types v2 - AttribManager - Start Comment here (with /*) to Remove (unhandy) Attributes Page
/*     case 'add_product_attributes':

Find (Around line 112 - with Option Types v2 Installed)
        break;
        case 'update_option_name':
Stop Commenting (or Removing) after the "break;":
        break; */
//EOF - Zappo - Option Types v2 - AttribManager - Stop Comment here (with */) to Remove (unhandy) Attributes Page
      case 'update_option_name':


Comment or Remove from around line 192 until around line 227:
Find (Around line 192 - with Option Types v2 Installed)
     case 'update_product_attribute':
Start Commenting (or Removing) From that line:
//BOF - Zappo - Option Types v2 - AttribManager - Start Comment here (with /*) to Remove (unhandy) Attributes Page
/*      case 'update_product_attribute':

Find (Around line 227 - with Option Types v2 Installed)
        break;
        case 'delete_option':
Stop Commenting (or Removing) after the "break;":
        break;  */
//EOF - Zappo - Option Types v2 - AttribManager - Stop Comment here (with */) to Remove (unhandy) Attributes Page
      case 'delete_option':


Comment or Remove from around line 246 until around line 256:
Find (Around line 246 - with Option Types v2 Installed)
     case 'delete_attribute':
Start Commenting (or Removing) From that line:
//BOF - Zappo - Option Types v2 - AttribManager - Start Comment here (with /*) to Remove (unhandy) Attributes Page
/*      case 'delete_attribute':

Find (Around line 255 - with Option Types v2 Installed)
        tep_redirect(tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, $page_info));
        break;
Stop Commenting (or Removing) after the "break;":
        tep_redirect(tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, $page_info));
        break; */
//EOF - Zappo - Option Types v2 - AttribManager - Stop Comment here (with */) to Remove (unhandy) Attributes Page


Find (Around line 305 - with Option Types v2 Installed)
<!-- options and values//-->
      <tr>
        <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td valign="top" width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="2">
Replace With:
<!-- options and values//-->
      <tr>
        <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
 <?php
//BOF - Zappo - Option Types v2 - AttribManager - Rearanged Product options and Option Values
/*          <tr>
            <td valign="top" width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="2">
//EOF - Zappo - Option Types v2 - AttribManager - Rearanged Product options and Option Values
?>


Find (Around line 496 - with Option Types v2 Installed)
<!-- options eof //-->
            <td valign="top" width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="2">
Replace With:
<!-- options eof //-->
//BOF - Zappo - Option Types v2 - AttribManager - Rearanged Product options and Option Values
?>
      </tr>
        <tr>
        <td width="100%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
/*            <td valign="top" width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="2"> */
//EOF - Zappo - Option Types v2 - AttribManager - Rearanged Product options and Option Values
?>


Comment or Remove from around line 714 until around line 956:
Find (Around line 714 - with Option Types v2 Installed)
<!-- option value eof //-->
Below add: (Start Commenting (or Removing) after that line)
<?php
//BOF - Zappo - Option Types v2 - AttribManager - Start Comment here (with /*) to Remove (unhandy) Attributes Page
/* ?>

Find (Around line 956- with Option Types v2 Installed)
<!-- products_attributes_eof //-->
Below add: (Stop Commenting (or Removing) after that line)
<?php */
//EOF - Zappo - Option Types v2 - AttribManager - Stop Comment here (with */) to Remove (unhandy) Attributes Page
?>


To Rename "Products Attributes in Admin (to Products Options): 1) Open admin/includes/languages/english.php (And any other Language files)
Find (Around line 74)
define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Products Attributes');
Replace With:
//BOF - Zappo - Option Types v2 - AttribManager - Changed Admin Menu name (No more Attributes there!)
define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Products Options');


- Back to Attribute Manager Installation guide

- Back to Main Option Types v2 ReadMe