If this is your first visit, check our documentation. To post, register or login.

Can't add option values

Started by fix_sm on 8 Sep 2011, 1:22 AM · Views: 762

Results 1 to 3 of 3
8 Sep 2011, 1:22 AM
#1
fix_sm avatar

fix_sm

New Zenner

Join Date:
Aug 2011
Posts:
2
Plugin Contributions:
0

Can't add option values

:( I have read and re-read the info on attribute adding. I successfully added an option name. and successfully changed it. I added one option value, but cannot attach it to the option name. I cannot add a second value. I want to have
Name=Download
Value=Zip File
and attach them to my first product. Please help.

8 Sep 2011, 1:57 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Can't add option values

At what point in this tutorial did you miss a step? https://www.zen-cart.com/tutorials/index.php?article=71
And, when you watched the video tutorial which it links to, what wasn't clear?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Sep 2011, 12:29 AM
#3
fix_sm avatar

fix_sm

New Zenner

Join Date:
Aug 2011
Posts:
2
Plugin Contributions:
0

Re: Can't add option values

I have re-watched the video on download attribute/values. I have created an option name "Downloadable Photoset". When I go to add an option value I enter the value name
"Zip7 format" and Order=10. When I click to insert, I receive this error message:
1062 Duplicate entry '1-1' for key 1
in:
[insert into products_options_values (products_options_values_id, language_id, products_options_values_name, products_options_values_sort_order) values ('1', '1', 'Zip 7 format', '10')]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Any suggestions? :frusty: