I want to add something to the accepted solution.
The solution will delete ALL product attributes linked to that store.
If u want to delete a specific product attribute you must check the eav_attribute
table with the query:
select a.attribute_id, a.attribute_code, a.backend_type
from eav_attribute as a
inner join eav_entity_type as e on (a.entity_type_id = e.entity_type_id)
where e.entity_type_code = 'catalog_product';
which will return a set of all attributes linked to a product in magento (default and custom attributes):
+--------------+--------------------------------+--------------+
| attribute_id | attribute_code | backend_type |
+--------------+--------------------------------+--------------+
| 429 | allow_message | int |
| 399 | allow_open_amount | int |
| 578 | brand | int |
| 590 | bundle_price | varchar |
| 581 | bundle_qta | varchar |
| 593 | categoria | int |
...
After you found the attribute_id
you want to remove execute the delete query on the table relative to the backend_type
field.
For example, if we want to remove the brand attribute we will execute the following query:
delete from catalog_product_entity_int where attribute_id = 578 and store_id = 1;
catalog_product_entity_text
where store_id = 1; DELETE FROMcatalog_product_entity_datetime
where store_id = 1; DELETE FROMcatalog_product_entity_decimal
where store_id = 1; DELETE FROMcatalog_product_entity_int
where store_id = 1; DELETE FROMcatalog_product_entity_varchar
where store_id = 1; this query not solve your issue if you save than agan checkbox uncheked