Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Posts
    80
    Plugin Contributions
    0

    Default Dynamic Drop Downs for SBA

    There isn't an official thread for this mod...so in desperation to find help....here it is. Currently there is no way to use this mod if any one of your products is a radio, checkbox, text box..... It's really frustrating because this mod would be great for 99 products in my store, but I have ONE that involves an 'engraving' option so I need to have the TEXT box work there. The mod in question is: http://www.zen-cart.com/index.php?ma...roducts_id=953

  2. #2
    Join Date
    Sep 2008
    Posts
    80
    Plugin Contributions
    0

    Default Re: Dynamic Drop Downs for SBA

    I mean I'm even willing to perhaps just make the actual engraving text box part of an independent pop-up or something.... it would just need to pass back to the customers order.... I don't think it would be ideal (if they wanted to make changes or something) but??? Does no one use these dynamic dropdowns with anything else? Not giftwrapping options etc???? I'm willing to pay someone...

  3. #3
    Join Date
    Sep 2008
    Posts
    80
    Plugin Contributions
    0

    Default Re: Dynamic Drop Downs for SBA

    OK....I have an idea but I'm not sure what to do as far as coding the javascript goes..... I need to take this line:
    Code:
     function _draw_nonstocked_attributes() {
          $out='';
          $nonstocked_attributes = $this->_build_attributes_array(false, true);
          foreach($nonstocked_attributes as $nonstocked)
          {
            $out.='<tr><td align="right" class=main><b><em>'.$nonstocked['oname'].":</b></td><td class=main>".zen_draw_pull_down_menu('id['.$nonstocked['oid'].']',$nonstocked['ovals'],$nonstocked['default'])."</td></tr>\n";
          }
          return $out;
        }
    and more specifically...this bit of that code:

    Code:
    <td class=main>".zen_draw_pull_down_menu('id['.$nonstocked['oid'].']',$nonstocked['ovals'],$nonstocked['default'])."</td>
    and make that a text input field instead of a pull down....???

  4. #4
    Join Date
    Sep 2008
    Posts
    80
    Plugin Contributions
    0

    Default Re: Dynamic Drop Downs for SBA

    OK...not that anyone here is actually reading this....but just incase. I came up with a sort of solution....I changed the:
    .zen_draw_pull_down_menu
    TO
    .zen_draw_textarea_field

    for those nonstocked items and then went into the database manually and changed the "1" in the 'products_options_track_stock' column that was created in the 'product options' table.

    Now the problem seems to be that it's treating one of the other dropdowns that's totally independent. For example:

    product: picture frame

    size: (2 options) 1-5x7, 2-4x6
    color: (2 options) 1-black, 2-white
    and an engrave option.

    Now the problem is that when you go to the product page, it's treating the dropdown option directly above the 'text' option (the color in this case) as if it's being ignored...but if I add another option for testing sake (let's say I add an 'icon' choice with 2 choices of either heart or flower) then the size and color are fine but the 'icon' option is ignored.

    Any ideas?

 

 

Similar Threads

  1. Problems with addon: Dynamic Drop Downs for Stock By Attribute
    By Dunk in forum All Other Contributions/Addons
    Replies: 56
    Last Post: 30 Apr 2014, 07:55 PM
  2. Replies: 9
    Last Post: 25 Jan 2014, 07:21 AM
  3. Dynamic drop downs for stock by attributes Help?
    By shahram in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Jul 2011, 08:46 PM
  4. Dynamic Drop Downs for SBA, How do I set a Dropdown to sequenced_dropdown?
    By agent_44 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Mar 2010, 02:48 AM
  5. Dynamic drop downs for stock by attributes
    By dthomas in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Mar 2010, 02:46 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