Page 1 of 32 12311 ... LastLast
Results 1 to 10 of 319
  1. #1
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Improved Attributes Controller (now built-in to v1.3.9)

    NOTE: THIS FEATURE IS ALREADY BUILT-IN TO Zen Cart v1.3.9

    Have you got a whole bunch of options/option values for your products?
    Do you hate having to add a single option value at a time?

    One of the stores I manage on a regular basis has about 12 option names and around 150 possible option values. That makes for a real hassle when using the drop-down selectors to add an option name/value combination to a product, particularly if you have to do it a large number of times (the average product on that site has around 70 option name/value combinations assigned: that's 70 entries per product with the current system....)

    I've developed an improvement for those drop-down boxes, making the option values that appear in the second box dependent upon the selection in the first box (no more searching through all those values to find the ones that match the option name). Javascript is used to avoid having the page reload when you make that selection in the first box.

    Here's the major time saver: the second box (option values) allows multiple selections! So you can add a whole bunch of option values with a single page load!

    One proviso on that though: all the other selections on the page (attribute price, weight, default, etc) are used for each option value that you have selected. So for example if you have entered a price of +2.00, it's used for every option value that you had selected in that second drop-down box.

    Extract the attributes_controller.php file from the zip attached to this post, upload it to your admin folder (make a backup of your original file first) and you're set to save some time.

    Now, if only I could work out how to implement that dependent options trick on the catalog side....but that's a much longer-term project.

    Edit: this has been built/tested on v1.3.0.1 (it will work on earlier versions but you may have to copy the function zen_hide_session_id() from v1.3.0.1 admin/includes/functions/general.php )

    NOTE: THIS FEATURE IS ALREADY BUILT-IN TO Zen Cart v1.3.9; As such this addon is NOT compatible with v1.3.9 and newer.
    DOWNLOAD HERE: http://www.zen-cart.com/index.php?ma...roducts_id=114
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Improved Attributes Controller

    What a brilliant idea! I expect this will soon rank alongside Image-Handler as one of the top "must haves"
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  3. #3
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Improved Attributes Controller

    I've made another minor modification to the file so that the option values are added with their default sort orders if no entry is made in the sort order box (saves another click to update to default sort orders later).

    <see downloads area for distribution file>
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  4. #4

    Default Re: Improved Attributes Controller

    wow what a great idea, i cant wait to try this. it takes me so long when adding attributes, this sounds great.

    thanks so much for this contrib

    Cara

  5. #5
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Improved Attributes Controller

    this is the same thing as the ajax attribute controller contrib listed last week right? its nice (although its just dhtml, not really ajax i think). The option values table is a little lower than the options name box.. at least thats how it appears in opera. havent tried with other browsers yet.. but that doesn't affect its performance

    Nice work :)

  6. #6
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Improved Attributes Controller

    Quote Originally Posted by qhome
    this is the same thing as the ajax attribute controller contrib listed last week right?
    It effectively does the same thing using javascript, but all the code is contained within the one file. And as far as I know, the Ajax mod doesn't allow multiple selections or add the default sort order.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  7. #7
    Join Date
    Feb 2004
    Posts
    1,774
    Plugin Contributions
    14

    Default Re: Improved Attributes Controller

    ah yes i see. you are right. works nice :)

  8. #8
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: Improved Attributes Controller

    Just got round to trying this out - WOW!



    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  9. #9
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: Improved Attributes Controller

    WOW This is the best thing since sliced bread. Your a genius. I can now create products practically without any effort

    You ought to be congratulated!!

    Thanks a bunch!!

  10. #10
    Join Date
    Mar 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Improved Attributes Controller

    Great contribution bunyip!!

    I cannot wait to see it by myself!

    Quote Originally Posted by bunyip
    Edit: this has been built/tested on v1.3.0.1 (it will work on earlier versions but you may have to copy the function zen_hide_session_id() from v1.3.0.1 admin/includes/functions/general.php )
    Can you elaborate this? Im using ZC 1.2.7, so I downloaded ZC 1.3.0.1 and looked for that function in the file you indicate, but I couldnt find it. Let me see If I understood well this:

    1. I will have to open admin/includes/functions/general.php in v1.3.0.1

    2. Find the function zen_hide_session_id() (I couldnt find this in the code)

    3. Open the previously mentioned file, but in my v1.2.7, and add the code there.


    Thanks!
    Mike

 

 
Page 1 of 32 12311 ... LastLast

Similar Threads

  1. improved attributes controller - how do I install?
    By dean5000v in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Sep 2008, 01:54 PM
  2. Improved Attributes Controller - No Options!
    By DiZZ in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 30 Apr 2008, 01:17 PM
  3. Improved Attributes Controller
    By Ryk in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 9 Dec 2007, 11:59 PM
  4. Improved Attributes Controller
    By ckosloff in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 19 Aug 2007, 05:07 PM
  5. Improved Attributes Controller/Ajax Attributes Controller
    By Jan51 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Jul 2006, 01:05 AM

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