Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default No Attribute Option Types...

    I've just applied various attributes to certain products on my site. Everything went well and the attributes are displayed in a drop down list box on the product page.

    However, I would like to change this drop down box to radio buttons. I know this can be done as I have done it before. But, when I attempt to select a different 'option type' from the Attributes Manager no other options are displayed (a blank drop down box appears)!

    Anyone else had a similar problem?

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

    Default Re: No Attribute Option Types...

    To change the Option Type ...

    You would edit the Option Name and change it there from dropdown to radiobutton ...

    Note: All Products with Attributes using this Option Name would switch from dropdown to radiobuttons ...
    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!

  3. #3
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: No Attribute Option Types...

    Another lightning response! :)

    Maybe my last post was not clear. When I try to change the attribute option type I am presented with an empty drop down box. Normally it would say; textbox, dropdown, radio, checkbox, etc... But it is totally empty! :|

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

    Default Re: No Attribute Option Types...

    And what did we do with our Option Name Option Type table ... did we lose it?

    Look in phpMyAdmin ...

    Find your database and find the table: products_options_types

    Browse it ... there should be 6 records in there ...

    How many do you have?
    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!

  5. #5
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: No Attribute Option Types...

    No records there!! That probably explains it.

    I'll install a fresh database and copy the tabel over. That should be ok, right?

    By the way... just wanted to say keep up the good work with development. :)

    I'll be sure to buy you people some coffee soon... might even get you a coffee machine! ;)

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

    Default Re: No Attribute Option Types...

    Hang on ... hang on ...

    We may be able to fix this table ... give me a minute ...
    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!

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

    Default Re: No Attribute Option Types...

    In your Zen Cart Admin ...

    Run this via the Tools ... Insert SQL Patches ...

    PHP Code:
    DROP TABLE IF EXISTS products_options_types;
    CREATE TABLE products_options_types (
      
    products_options_types_id int(11NOT NULL default '0',
      
    products_options_types_name varchar(32) default NULL,
      
    PRIMARY KEY  (products_options_types_id)
    TYPE=MyISAM COMMENT='Track products_options_types'
    Then run this:
    PHP Code:
    INSERT INTO products_options_types (products_options_types_idproducts_options_types_nameVALUES (0'Dropdown');
    INSERT INTO products_options_types (products_options_types_idproducts_options_types_nameVALUES (1'Text');
    INSERT INTO products_options_types (products_options_types_idproducts_options_types_nameVALUES (2'Radio');
    INSERT INTO products_options_types (products_options_types_idproducts_options_types_nameVALUES (3'Checkbox');
    INSERT INTO products_options_types (products_options_types_idproducts_options_types_nameVALUES (4'File');
    INSERT INTO products_options_types (products_options_types_idproducts_options_types_nameVALUES (5'Read Only'); 
    NOTE: via the Insert SQL Patches ... do NOT change anything regardless of table prefixes etc. it will be done automatically for you ...
    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!

  8. #8
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: No Attribute Option Types...

    I've just copied the table from a fresh install and it's worked fine. Is that ok or should I have followed your steps outlined above?

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

    Default Re: No Attribute Option Types...

    My post is what you would get if you did a fresh install ...

    That is what is in the /zc_install/mysql_zencart.sql file and I just grabbed the structure and data for it ...

    So ... go test it out ... does it work?
    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!

  10. #10
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: No Attribute Option Types...

    Already tested and it works a treat! :)

    Not really sure why/how the data was lost form the table. But it's back now... with a little of your advice.

    Thanks for the help.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Attribute was not added/Attribute Option and Option Value do not match
    By charliepingpong in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Apr 2012, 12:22 AM
  2. Attribute Option and Option Value Do NOT Match - Attribute was not added - : TEXT
    By jamesdavid in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 May 2008, 02:36 PM
  3. Option types
    By dedj in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 10 Nov 2007, 12:46 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