Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Duplicate Options Name Added Warning with EasyPopulate

    This is perhaps not technically a "bug"... BUT!

    Why would you want to allow duplicate option names?

    I ask this because I am currently working on adding functional product attributes support for easy populate (someone has to do it!) and hence the need to understanding "why".

    I can see that when creating option values you MUST bind to an option from the drop down box, so having duplicate option values makes sense.

    It seems to me that if you need more than 1 name option (say two "color" options), then you should use an internal unique option name AND a display option name (which we don't now have).

    This way you can have:
    paint_color >> color
    shirt_color >> color

    Yes, I know that zencart doesn't care about the option NAME, because it is using the internal id's to link everything. So you can get away with doing the above, but this seems prone to errors though.

    Anyway. I'd appreciate some input.

    -cj

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

    Default Re: Duplicate Options Name Added Warning

    Because some people do want two Option Names for Color for different things, rather than prevent the duplicates, the warning is there for others who make "mistakes" and try to make a duplicate Option Name ...

    If you want Duplicate Names, then ignore the warning ... if you do not want Duplicate Names then pay attention to the warning ...
    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
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Duplicate Options Name Added Warning

    But of course, and I could see that. But it seems prone to error. Much better to have another field for display purposes that you could call say, "color", but internally you can have "upholstery_color" , "fabric_color", "paint_color"... you get the point.

    My dilemma is this freedom is not code-able in any practical way so that EP will know which COLOR (option name) to bind an option value to. Looks like I'll just have to assume unique option names.

    Thanks for the responding!

    -cj

 

 

Similar Threads

  1. Duplicate Item Name / Product name repeat Order Confirmation Email
    By jsarwar in forum Managing Customers and Orders
    Replies: 3
    Last Post: 21 Nov 2014, 02:57 PM
  2. 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
  3. Replies: 15
    Last Post: 6 Apr 2013, 04:08 PM
  4. many <br/><br/> added after import with EasyPopulate
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 Sep 2010, 10:18 AM
  5. Text box for attributes misaligned with options name
    By dazed88 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Oct 2008, 09: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