Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2011
    Location
    Tigard, Oregon, USA
    Posts
    32
    Plugin Contributions
    0

    Default Problem adding text field attribute for product.

    I have current version of Zen Cart. Am having problems adding text field attribute for product. Option type = text; Option name = Table Height sort order is 10 and size is 32. When I reach Option value is where the problem occurs. I enter "Dimensions in INCHES" then add sort order 10 and click insert. The following is what I receive:

    1062 Duplicate entry '1-1' for key 'PRIMARY'
    in:
    [insert into products_options_values (products_options_values_id, language_id, products_options_values_name, product_options_values_sort_order) values ('1','1','Dimensions in INCHES','10')]

    I have deleted all previous entries and rebooted.

    Anyone have a suggestions - I'll take anything at this point. Thanks in advance for your help.

  2. #2
    Join Date
    Sep 2011
    Location
    Tigard, Oregon, USA
    Posts
    32
    Plugin Contributions
    0

    Default Re: Problem adding text field attribute for product.

    Problem is fixed and the text attributes are in place now.
    Last edited by Ajeh; 4 Nov 2011 at 02:16 PM.

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

    Default Re: Problem adding text field attribute for product.

    What was the cause of the problem and how did you fix it?
    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!

  4. #4
    Join Date
    Sep 2011
    Location
    Tigard, Oregon, USA
    Posts
    32
    Plugin Contributions
    0

    Default Re: Problem adding text field attribute for product.

    I was trying to add an options value name to a text attribute. Once I figured that out it went fairly nice. I'm going through the shipping module now and it looks like I will have several postings for this area.

 

 

Similar Threads

  1. Can I have text showing inside an attribute text field
    By jcrewe in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Jan 2012, 10:48 PM
  2. Adding Text Attribute Problem
    By cjackson111 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 9 Nov 2011, 02:43 AM
  3. Adding Text Field Attribute
    By LinusIT in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 27 Jan 2011, 03:04 PM
  4. adding new product attribute field to admin
    By poosk in forum Customization from the Admin
    Replies: 0
    Last Post: 2 Jan 2008, 09:06 PM
  5. Problem adding new field to product listing
    By rwoody in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2006, 08:04 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