Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Aug 2012
    Posts
    14
    Plugin Contributions
    0

    Idea or Suggestion how to copy one product's attribute to all other products?

    got too many categories and sub-categories,

    so wanna know is there any way to copy one product's attribute to all other products?

    modify database seems possible, but how to?

    using zencart 1.39h,

    thank you in advance!

  2. #2
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: how to copy one product's attribute to all other products?

    If you go to your attributes controller, select the product you want to use for the copy, and press display.
    Now the product and the attributes show
    At the top of the page is a row of buttons, that say copy to.
    Press the most right (copy to categories).
    Next select your category to copy to in the selection box, and select one of the three options on the right.
    press copy
    All the products in the selected category have the new attribute - DONE !! next category

  3. #3
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: how to copy one product's attribute to all other products?

    Question about this -- I did this and the attributes copied, but not the images associated with the attributes. How do I get those to copy as well?

    I also have 1.3.9h

  4. #4
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: how to copy one product's attribute to all other products?

    it should not be necessary to copy the actual images. to paths used for the different attributes stays the same.

  5. #5
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: how to copy one product's attribute to all other products?

    Hmmm, well, that's what I thought. But it isn't working. I've tried copying the product along with its attributes (no luck) and also copying the attributes from one product to another using the attributes controller (no luck).

    In both cases, the attributes copied (the drop down menu), but the associated images do not appear.

    John

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: how to copy one product's attribute to all other products?

    strange...
    Just to be sure I tried on a clean install and it works.
    Did you install any mods regarding attributes? like image swap, or something

  7. #7
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: how to copy one product's attribute to all other products?

    Hmmmm, that's interesting.

    We do have imagehandler2 installed.

    John

  8. #8
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: how to copy one product's attribute to all other products?

    IH2 should not be related to this problem. Did you check the code of the attributes_controller.php with a fresh one, using Winmerge or something alike

    By the way, it is wise to upgrade IH2 to IH3 (not IH4, which is for ZC 1.5)

  9. #9
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: how to copy one product's attribute to all other products?

    Thank you very much -- I'll try that.

    John

  10. #10
    Join Date
    Dec 2010
    Posts
    362
    Plugin Contributions
    0

    Default Re: how to copy one product's attribute to all other products?

    Hmmm, when I compare attributes_controller.php from the stock 1.3.9h and the one I have in my install, I can see there is extra code in mine.

    This is an install I inherited, so I don't know the answer to this and maybe you do: In my install, there are two images for each attribute: a swatch and a larger image that replaces the product image when the swatch is selected.

    Is this function standard with ZC, or is it the work of an addon of some sort? Any idea which addon it might be?

    John

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. how do I copy just one attribute to all other products?
    By denniszc in forum General Questions
    Replies: 2
    Last Post: 12 Apr 2013, 04:25 AM
  2. v139h Update Attribute on All Product, Without Messing up with other attribute in product?
    By vilvas in forum Setting Up Categories, Products, Attributes
    Replies: 10
    Last Post: 11 Sep 2012, 12:38 AM
  3. Replies: 2
    Last Post: 9 Jul 2010, 04:57 AM
  4. How to copy an attribute to *ALL* products in one stroke?
    By mrtorrez in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 23 Nov 2006, 05:13 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR