Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Attributes name editor: cant select option type

Attributes name editor: cant select option type

Views: 2,009

Results 1 to 19 of 19
23 Feb 2011, 5:14 PM
#1
peolit avatar

peolit

New Zenner

Join Date:
Feb 2011
Posts:
3
Plugin Contributions:
0

Attributes name editor: cant select option type

Hi all. I'm using v1.3.9h and need to set real basic attributes like 'pick a color'.

However, I in the Names editor, I'm unable to pick the option type- where there should be options such as 'dropdown box, radio buttons, etc..' I just have an empty dropdown with no values in it to pick.

Has anyone encountered this problem or know how I would fix it?

I suspect this is the reason that my attributes aren't showing up on my product pages.

23 Feb 2011, 6:12 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Attributes name editor: cant select option type

Reload your admin files

23 Feb 2011, 7:31 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes name editor: cant select option type

If you look at your database in phpMyAdmin at the table:
products_options_types

do you see all of the Option Types in there? :unsure:

23 Feb 2011, 8:27 PM
#4
peolit avatar

peolit

New Zenner

Join Date:
Feb 2011
Posts:
3
Plugin Contributions:
0

Re: Attributes name editor: cant select option type

no-they're not there

23 Feb 2011, 8:31 PM
#5
peolit avatar

peolit

New Zenner

Join Date:
Feb 2011
Posts:
3
Plugin Contributions:
0

Re: Attributes name editor: cant select option type

Ajeh:

If you look at your database in phpMyAdmin at the table:
products_options_types

do you see all of the Option Types in there? :unsure:
ahhh good question. I don't see them in phpmyadmin. I don't have much experience in databases like this though...

23 Feb 2011, 8:33 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes name editor: cant select option type

That would break things pretty well ... :eek:

Backup your database ...

You can rebuild that table with:

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');
2 Dec 2011, 11:22 AM
#7
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Attributes name editor: cant select option type

Ajeh:

That would break things pretty well ... :eek:

Backup your database ...

You can rebuild that table with:

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? :blink: please outline method, thanks. is it a sql insert via admin back office or via mysql & if so how, thanks in advance.:smile:

regards,

ed
2 Dec 2011, 1:23 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

2 Dec 2011, 1:45 PM
#9
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

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

2 Dec 2011, 1:56 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

2 Dec 2011, 2:17 PM
#11
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

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

2 Dec 2011, 2:18 PM
#12
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Attributes name editor: cant select option type

.........

2 Dec 2011, 3:03 PM
#13
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Attributes name editor: cant select option type

Yes, like that.

2 Dec 2011, 3:07 PM
#14
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

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

2 Dec 2011, 3:11 PM
#15
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Attributes name editor: cant select option type

That would really require looking at your database to see exactly what you have. Are you seeing in phpMyAdmin, when you have selected the right db, the zen_products_options_types table name in the list in the left column?

2 Dec 2011, 3:15 PM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Attributes name editor: cant select option type

NOTE: If you are using the Zen Cart Admin, Tools ... Install SQL Patches ... you do not need to add those prefixes as they are handled for you ...

2 Dec 2011, 3:21 PM
#17
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Attributes name editor: cant select option type

yes, I can see that see image attached,

thanks,

ed
[Attachment no longer available]

2 Dec 2011, 3:21 PM
#18
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Attributes name editor: cant select option type

Oops, thanks for the clarification! I hadn't dealt with Install SQL Patches in a while and was thinking that it needed the TABLE_WHAT_EVER constants to handle the prefixes if any. So it does automatically detect all table names and converts them to the correct prefix.

So just paste exactly what Ajeh posted into Install SQL Patches. Sorry for the confusion.

2 Dec 2011, 3:30 PM
#19
voluntaryist_only avatar

voluntaryist_only

New Zenner

Join Date:
Sep 2010
Posts:
60
Plugin Contributions:
0

Re: Attributes name editor: cant select option type

YIPEE! what a STAR you are !! :clap:
[Attachment no longer available]

thanks very, very, much, it was driving round the bend!!

woohoo!! go you!!

very gratefully yours,

ed
:smile: