Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    23
    Plugin Contributions
    0

    Default Unique attributes per product

    I need to add unique attributes per product, because I need the attribute name to include the product ID for that version of the product. Eg: If I have black and white versions of product XX they have different product IDs, so I need to add XX-Black and XX-White as attributes, and they'll only ever be used for product XX.

    What is the easiest way to do this? The standard attribute handler makes this hard work. I've looked at other attribute modules (but not installed them) but they don't seem to address this problem.

    Any suggestions?

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

    Default Re: Unique attributes per product

    Maybe if you could give us a reason that they have to be so unique or more real world examples of how they are so unique it would help us figure this out ...
    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
    May 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Unique attributes per product

    Good idea - maybe there's a better way to do this.

    Lets say I have a widget in black or blue, product codes WIDGET-BLACK and WIDGET-BLUE. I also have a thingy product in black and blue (THINGY-BK and THINGY-BL).

    I need to esnure that (a) these product codes are shown with the options as the user selects them (eg the product codes are in the attribute dropdown along with their description), and (b) that these product codes get passed through to the checkout and get sent to the shop owner with the order (the customer doesn;t buy a blue "widget", the buy a "widget-blue").

    At the moment we do this by creating attributes WIDGET-BLACK, WIDGET-BLUE, THINGY-BK and THINGY-BL. We then have product WIDGET with attributes WIDGET-BLACK and WIDGET-BLUE, and product THINGY with attributes THINGY-BK and THINGY-BL.

    This all works fine but it is a massive headache adding a new product with (typically) a dozen attributes (usually a range of colour and size options).

    Its just occured to me also that I have no idea whether a search for "THINGY-BL" will find the right product, but I suspect that it won't..

    So, is there a better way to do this, or a simpler way to do what I'm already doing?

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

    Default Re: Unique attributes per product

    You have a products_id options_id options_values_id

    The combo is unique in the end ...

    So a Widget Color Black and a Thingy Color Black would be unique to one another ...

    When the Product gets processes it will already have the options_id and options_values_id built to a unique attributes_id that belongs to the products_id

    I think you are trying to carry the unique to far ... and should be able to determin Color Black as unique from Color Blue regardless of whether this is a Widget or a Thingy ...
    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!

  5. #5
    Join Date
    May 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Unique attributes per product

    I'm not sure I understand what you're suggesting.

    Are you saying that given the unique combination of IDs I should create a new table of part codes against those unique combinations, then extract the data from that at the appropriate points (when generating the attributes list, when generating checkout pages and order emails, etc)?

 

 

Similar Threads

  1. attributes per final price and not per product
    By oberheimer in forum Setting Up Categories, Products, Attributes
    Replies: 19
    Last Post: 6 Apr 2014, 07:58 PM
  2. Creating Unique Product Ids based on Attributes
    By TwitchDesign in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 9 Mar 2011, 08:42 PM
  3. Adding unique descriptions per product
    By mateomtb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Dec 2010, 06:59 PM
  4. Flat fee shipping per unique product regardless of qty
    By izonmedia in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 6 Jun 2008, 01:36 PM
  5. Unique/Custom Terms & Conditions on a Per-Product Basis
    By iconenterprises in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 11 Jan 2008, 09:01 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