Zen Cart Logo
Forums / General Questions / Remove text attributes from products

Remove text attributes from products

Views: 791

Results 1 to 5 of 5
19 Nov 2011, 5:23 AM
#1
inception avatar

inception

New Zenner

Join Date:
Jun 2011
Posts:
63
Plugin Contributions:
0

Remove text attributes from products

i need remove certain TEXT attribute from all products of one category,
from admin options names manager and options values manager, i find many ways to add or remove other type attributes, but i don't find a way to remove text attributes
is it possible to do this?

19 Nov 2011, 5:47 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Remove text attributes from products

Use the Attributes Controller.

20 Nov 2011, 6:56 AM
#3
inception avatar

inception

New Zenner

Join Date:
Jun 2011
Posts:
63
Plugin Contributions:
0

Re: Remove text attributes from products

by using the Attributes Controller, i can delete the text attributes one by one, but i have too many products in one category and too many attributes
i want to delete text attributes (option id 3 and 9 and 17) of all products from one category (category id 6)
it seems i couldn't do this by attrributes controller?

i want to run this in phpmyadmin, but i only want to delete them from category id 6
DELETE from zen_products_attributes WHERE options_id= 3

what do i add the category id?

20 Nov 2011, 8:21 AM
#4
inception avatar

inception

New Zenner

Join Date:
Jun 2011
Posts:
63
Plugin Contributions:
0

Re: Remove text attributes from products

for the dropdown attributes, i can do this by attributes controller, thats very easy, but i wonder why i coudn't do this to text attributes?

21 Nov 2011, 8:31 AM
#5
inception avatar

inception

New Zenner

Join Date:
Jun 2011
Posts:
63
Plugin Contributions:
0

Re: Remove text attributes from products

by using attributes controller, for the DROP DOWN attributes,
i can delete all option values to one category of products for one option name, i can also delete matching attribute from all products for one option
but i don't find a way to do this to TEXT attributes
any ideas?