Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    25
    Plugin Contributions
    0

    Default Remove Attribute from all products?

    I would like to remove an attribute from all products (600+) but I've run into an issue because it has a text value.

    I see the option to remove an attribute from all categories but because the option value is a text box, it does not appear in the selection choices.

    Is there a way to remove this option from all products without going through every product manually?

    Thanks,
    Jon

  2. #2
    Join Date
    Nov 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Remove Attribute from all products?

    Like maybe with a PHP SQL patch or something?

    (sorry to add this my last post was no longer able to be edited.)

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove Attribute from all products?

    In phpMyAdmin, test for:
    SELECT from products_attributes WHERE options_id= XX and options_values_id =0;
    where XX is the Options Name options_id ... are those the ones you want to delete?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Nov 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Remove Attribute from all products?

    The option ID is #65 and I want to remove it from all products.

    There is no option value because it is text.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Remove Attribute from all products?

    Backup your database first ...

    After you have backed up the database ... run the command:
    Code:
    DELETE from products_attributes WHERE options_id= 65 and options_values_id =0;
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Nov 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Remove Attribute from all products?

    Thanks. That worked perfectly.

 

 

Similar Threads

  1. remove title website from all products
    By dmagic in forum General Questions
    Replies: 4
    Last Post: 25 Sep 2012, 08:23 AM
  2. Remove text attribute from all products
    By Justrimless in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 3 Dec 2010, 01:38 PM
  3. Remove attribute from all items
    By makenoiz in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Mar 2009, 08:07 AM
  4. remove all products link from homepage
    By jdavey in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2007, 09:12 PM
  5. Remove Document type from All Products listings
    By ddk632 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 23 Jun 2006, 08:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg