Zen Cart Logo
Forums / General Questions / how can clean table from the database

how can clean table from the database

Views: 617

Results 1 to 2 of 2
2 Feb 2014, 9:38 AM
#1
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

how can clean table from the database

in my products have this

Meta Tag Keywords:
Meta Tag Description:

where is the table can clean all ? i have about 500 products with Meta Tag Keywords:, Meta Tag Description:

i want clean this table so this table empty for all products .

thank you for understand .

4 Feb 2014, 5:23 AM
#2
jwlamb avatar

jwlamb

Zen Follower

Join Date:
Jan 2014
Location:
Arizona
Posts:
110
Plugin Contributions:
0

Re: how can clean table from the database

If I understand your English correctly, you need to clear the meta tag keywords and descriptions.

I'm not very good at writing php code, but if anyone out there could writeup a code somewhat like this one:

UPDATE products SET products_tax_class_id=1;

This code works for setting the tax class on all the products to 1, not sure if a modified code would work for setting the meta tags to null.