Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    42
    Plugin Contributions
    0

    Default Product atributes help

    OK, building a page and using ZenCart for the first time and wrestling with it. I think I'm finally getting the hang of things though.

    Now, When I create a product I add a picture. Is there a way to add more than one? I can edit the product_info.php file or whatever it is called directly (using overrides), but is there an easier way to do it in the admin interface other than the define_pages editor?

    Similarly, lets says I have an item. It comes in 3 colors. I have a picture of the item, and I have a dropdown with the 3 colors. I also have (on my hard drive) same-sized pictures of the item in the other colors. Is there a way in the attribute editor to set it up so that ZenCart shows the item_white.jpg when I select white from the drop down box, item_red.jpg when I select red from the drop down box, etc.?

    I tried adding an image for each option in the drop down box in the attributes editor, but it just displays them all simultaneously all the time (ex. it will show the item_white.jpg and right underneath it the item_red.jpg rather than just one of the two based on the color selected in the drop down).

    Lastly, the company has a different product number for every product based on size and color and style. So, jacket, red, small has an ID of say 1000. Jacket, red, large has an ID of 1010. Jacket, blue, large has an ID of 1020 and shirt, blue, medium has an id of 3729 or whatever.

    Is there a way using the drop downs to send this information along in the cart? In my case it actually should be somewhat easy. The product ID# takes the form of ABCD where AB designates the item (jacket, pants), C designates the color (red, green) and D designates the size (sm, med, Lg, etc.). Is there a way to properly concatenate these to form a correct product ID# & send that info to the cart for checkout? I can't see a way in the attribute editor. For now I have a seperate listing for each item+color. The customer selects from a size dropdown. Since I know the item+color, each size will have it's own unique value. That makes it easy. But in the future, if more and more items are added to the catalog, this method could get a bit cumbersome.

    Thanks!

    Brain21

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product atributes help

    Now, When I create a product I add a picture. Is there a way to add more than one?
    This is semi-automatic if you name them correctly

    Code:
    i.e. product image = item.jpg
    1st additional        = item_1.jpg
    2nd additional       = item_2.jpg
    and so forth
    Shows the item_white.jpg when I select white from the drop down box, item_red.jpg when I select red from the drop down box,
    This is not a core function builtin to ZenCart. It might be custom codeable though.

    For you last question - This is attributes-by-stock and is not available as a core function. I believe that there is a module in the downloads area for this but have never used it.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Product atributes help

    OK, thanks. I guess for now I list out a lot of items. When I get more familiar w/ ZenCart, I'll find a way to concatenate the files. I think I should be able to do it w/ PHP, but that comes later. For the drop down, I would guess that there is a way either w/ PHP or Javascript to do it, but I guess I won't deal with that now either.

    Thanks,

    Brain21

  4. #4
    Join Date
    Sep 2006
    Posts
    42
    Plugin Contributions
    0

    Default Re: Product atributes help

    OK, once again I am confused. This time about product attribute values.

    I have a product. A blue jacket. It costs say $99.00 It is available in sm, med, lg & xl

    I enter in the product, and a price. Then I go to the attribute editor thingy.

    I select the item I created & click on display. Then I select from the boxes

    Size (dropdown) Small (size) & click on insert. Repeat for all sizes.

    Now, I need to assign a product code to small blue jackets.

    I go to the values editor, select size, small & edit

    then go down to
    Copy Option Name/Value to Products with existing Option Name

    Option name to add: size
    option value to add : small [SIZE]
    Default New Attribute Values from Product ID#: 6510 (this is the unique product ID that the warehouse uses to ship the small blue jacket)
    Option Name to add to: SIZE
    Select: Update existing attributes with new settings/prices
    Select F-2006-6 for the general product number

    Click on Insert

    Go back to Catalog->Categories/products, find the product and click on the "A" (attributes icon).

    Click on the preview button. I see the drop down with the sizes I view the source and I see:

    <option value="21" SELECTED>Small</option>

    Shouldn't the value be 6510? I have no clue where the "21" is coming from.

    I need this so that when the customer places an order for a small blue jacket, the email (which also gets sent to the warehouse) specifies 6510 for a small blue jacket, 6520 for a medium blue jacket, 6210 for a small red jacket, etc.

    How do I get this to work properly? I'm obviously puuting the 6510 into the wrong field or something.

    Thanks,

    Brain21

 

 

Similar Threads

  1. atributes stock help
    By mrflonaldo in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 9 Nov 2008, 10:22 PM
  2. Help! Atributes have dissapeared from ADMIN
    By Redcinamn in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Aug 2008, 07:23 PM
  3. Help with atributes
    By cute furries in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 26 Nov 2007, 02:18 PM
  4. Need help with Atributes
    By natchezjohn in forum General Questions
    Replies: 4
    Last Post: 29 Aug 2007, 07:35 PM
  5. Product Info / Atributes Layout Help Please!
    By slabadoo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jan 2007, 08:40 PM

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