Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Missing attribute options

    Hi - I would very much appreciate some help, I have searched for my problem and tried a few tips on here but not had any luck so far.

    The problem is I do not have a choice of any attribute option types so all my attibutes are defaulted to drop down boxes:

    I have traced this problem down to a mssing or damaged zen_product_options_types table (I think) as I do not have any data there at all.


    How do I go about fixing this ? I am unsure what information this table should contain and how it got deleted in the first place?

    thanks, Ben

  2. #2
    Join Date
    Nov 2007
    Posts
    78
    Plugin Contributions
    0

    Default Re: Missing attribute options

    Is this a fresh install for your Cart? Have you done any customization and/or uploaded new products yet?

  3. #3
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Missing attribute options

    Hi, thanks for the reply - yes I have customised the site and everthing is looking and working great apart from this little issue - Not sure why it is missing, I can only guess I must have accidentally cleared the values somehow - that will teach me! - now how to get them back ?

    Is there an easy way without a fresh install?

    thanks

  4. #4
    Join Date
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Missing attribute options

    thanks for the help: Nooot (borat style )

    Will running without this data be ok? not found a solution yet.

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

    Default Re: Missing attribute options

    Check what is in the table products_options_types ...

    If you do not have the various values you can build it with:
    Code:
    DROP TABLE IF EXISTS products_options_types;
    CREATE TABLE products_options_types (
      products_options_types_id int(11) NOT NULL default '0',
      products_options_types_name varchar(32) default NULL,
      PRIMARY KEY  (products_options_types_id)
    ) TYPE=MyISAM COMMENT='Track products_options_types';
    
    INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (0, 'Dropdown');
    INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (1, 'Text');
    INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (2, 'Radio');
    INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (3, 'Checkbox');
    INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (4, 'File');
    INSERT INTO products_options_types (products_options_types_id, products_options_types_name) VALUES (5, 'Read Only');
    Also check the products_options_values table for:
    Code:
    INSERT INTO products_options_values (products_options_values_id, language_id, products_options_values_name) VALUES (0, 1, 'TEXT');
    Warning: always backup your database before attempting to fix things you have broken ...
    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
    Jun 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Missing attribute options

    Thanks for helping me and so many others out!, coffee bought :)

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

    Default Re: Missing attribute options

    Thanks very much for the support ... we always can use another cup of coffee to help the coding move along ... it keeps the eyes open longer ...

    Good luck with your shop and for letting us know that this helped you out ...
    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!

 

 

Similar Threads

  1. v151 X-Frame Options Missing
    By himanshudas in forum Bug Reports
    Replies: 0
    Last Post: 4 Dec 2012, 05:01 PM
  2. Missing Options
    By Djcyclesuk in forum Basic Configuration
    Replies: 5
    Last Post: 7 Apr 2008, 02:05 AM
  3. attribute options based on previous options chosen
    By dssprogrammer in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 19 Apr 2007, 01:26 PM

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