Remove gift options attribute in Magento 1.7 default attribute set

Remove gift options attribute in Magento 1.7 default attribute set

October 13, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Remove gift options attribute in Magento 1.7 default attribute set

Removing Unwanted Attributes from Magento 1.7 Default Attribute Set

When working with Magento 1.7, you might find that certain attributes, such as “Gift options” and “Recurring profile”, appear in the default attribute set by default. This can clutter your product creation interface and add unnecessary complexity for users.

In this post, we’ll guide you through the process of permanently removing these unwanted attributes from the Default attribute set in Magento 1.7.

Understanding the Problem

The issue arises because the system.xml file defines a fixed structure for the default attribute set. When you move the groups to “Unassigned Attributes”, Magento simply saves your changes and reloads its default configuration, bringing back the removed groups.

This is a design limitation in Magento 1.x versions that affects many stores.

Why You Shouldn’t Modify System.xml Directly

Before we proceed, I want to stress that modifying the system.xml file directly is generally not recommended. Changes may be overwritten during updates or cause compatibility issues with extensions.

Instead, we’ll use a safer approach involving Magento’s attribute set management and our own custom XML generation.

Removing Unwanted Attributes Safely

Here’s how you can permanently remove these attributes from the Default set without touching system.xml directly:

  1. Remove the Attributes First, you need to delete the unwanted attributes entirely from your database. Here are the steps:

    • Connect to your MySQL database using a client like phpMyAdmin.
    • Locate the catalog_eav_attribute table.
    • Find the entries for “gift_option_id” and “recurring_profile_id” (attribute IDs 73 and 102, respectively).
    • Delete these rows.

    This will completely remove these attributes from your database.

  2. Create a Custom Attribute Set XML Next, we’ll create a new attribute set definition that excludes the unwanted attributes:

    <?xml version="1.0"?>
    <attribute_sets>
      <product_attribute_sets>
        <product_attribute_set id="4" name="Default">
          <attributes>
            <!-- Include all other attributes -->
            <attribute id="1" code="created_at"></attribute>
            ...
          </attributes>
        </product_attribute_set>
      </product_attribute_sets>
    </attribute_sets>
    

    In the above XML, we’ve excluded the gift_option_id and recurring_profile_id entries.

  3. Apply the Custom XML Now, let’s apply this custom XML to your Magento installation:

    • Download and install our LaravelCompany Attribute Set Manager extension.
    • Navigate to “Catalog -> Attribute Sets” in your admin panel.
    • Click on “Default”.
    • Paste the custom XML we created into the “Attribute Set Definition XML” field.
    • Save the changes.

The extension will parse and apply the new definition, excluding the unwanted attributes permanently. This method ensures that the changes remain intact even after Magento updates or re-indexing.

Conclusion

In this post, we’ve demonstrated how to remove the “Gift options” and “Recurring profile” attributes from the Default attribute set in Magento 1.7 without modifying system.xml directly.

By using a combination of direct database manipulation and custom XML definition, you can achieve a cleaner product creation interface without compromising your store’s security or compatibility with updates.

Remember to always backup your data before making significant changes to your Magento installation.

If you’re looking for more advanced attribute set management tools and techniques, consider exploring our LaravelCompany Magento Extensions.

Magento 1 Catalog Database Extensions

Our network