Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Sep 2010
    Posts
    60
    Plugin Contributions
    0

    Default Re: Attributes name editor: cant select option type

    Quote Originally Posted by Ajeh View Post
    That would break things pretty well ...

    Backup your database ...

    You can rebuild that table with:
    Code:
    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');
    how exactly can I do this? please outline method, thanks. is it a sql insert via admin back office or via mysql & if so how, thanks in advance.

    regards,

    ed

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Attributes name editor: cant select option type

    You can copy & paste those statements into ZC admin > Tools > Install SQL Patches, if you don't have prefixes on your database tables. (If you do have prefixes, change the table name appropriately, like zen_products_options_types.) (The field names will not change.)

    Or you can go to your hosting control panel, which should have a page for phpMyAdmin, and do the same.

  3. #3
    Join Date
    Sep 2010
    Posts
    60
    Plugin Contributions
    0

    Default Re: Attributes name editor: cant select option type

    Hi, thanks for that, so i go to the sql insert in admin & just insert what is listed? I do have prefixes on all the database heading ie: "zen_products_options_types"

    thanks.

    ed

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Attributes name editor: cant select option type

    Okay then, add that prefix to the table names in the statements and paste them into Install SQL Patches.

  5. #5
    Join Date
    Sep 2010
    Posts
    60
    Plugin Contributions
    0

    Default Re: Attributes name editor: cant select option type

    Hi,
    sorry to be a pest, like this:
    INSERT INTO zen_products_options_types (products_options_types_id, products_options_types_name) VALUES (0, 'Dropdown');,
    INSERT INTO zen_products_options_types (products_options_types_id, products_options_types_name) VALUES (1, 'Text');,
    INSERT INTO zen_products_options_types (products_options_types_id, products_options_types_name) VALUES (2, 'Radio');,
    INSERT INTO zen_products_options_types (products_options_types_id, products_options_types_name) VALUES (3, 'Checkbox');,
    INSERT INTO zen_products_options_types (products_options_types_id, products_options_types_name) VALUES (4, 'File');,
    INSERT INTO zen_products_options_types (products_options_types_id, products_options_types_name) VALUES (5, 'Read Only');

    cheers,

    ed

  6. #6
    Join Date
    Sep 2010
    Posts
    60
    Plugin Contributions
    0

    Default Re: Attributes name editor: cant select option type

    .........

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Attributes name editor: cant select option type

    Yes, like that.

  8. #8
    Join Date
    Sep 2010
    Posts
    60
    Plugin Contributions
    0

    Default Re: Attributes name editor: cant select option type

    err, that did not work, i got this error:
    Error Failed: 1
    Error ERROR: Cannot execute because table zen_products_options_types does not exist. CHECK PREFIXES!
    Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    right at the top of the page on the left side. I know that there is a listing for the table, but, there is nothing in it, what should i do?

    thanks,

    ed

 

 

Similar Threads

  1. v151 Problem with attribute with option type 'text' being added to option name list.
    By Janelyn in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 12 Aug 2013, 09:26 PM
  2. v151 Adding Attributes - Can't select Option Name
    By chrysalid in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 28 Apr 2013, 03:17 PM
  3. Attributes: Option Name Has Blank Drop Down List for "Option Type"
    By Dianne in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 14 Nov 2012, 06:53 PM
  4. Attributes Option Type dontīs show for select in admin
    By ppsoyal in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 17 Jun 2010, 12:57 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