Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Batch Status Update list as checkmark boxes, not dropdown

    Batch Status Update...

    Is there a way to call up say 4 Bins to display after search instead of the one option drop down menu?

    We have orders come in 4 ways, then have to (one at a time) batch update to Processing.

    Can I have the Statuses show as check boxes, not a drop down easy enough?

  2. #2
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Batch Status Update list as checkmark boxes, not dropdown

    PHP Code:
    <td class="smallText"><?php echo zen_draw_pull_down_menu('status'array_merge(array(array('id' => '''text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], ''); ?></td>
    Here's the code that creates the drop down.

  3. #3
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Batch Status Update list as checkmark boxes, not dropdown

    Replacing with this only generates one checkbox.

    zen_draw_checkbox_field

    How do I list ALL statuses with checkboxes?

  4. #4
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Batch Status Update list as checkmark boxes, not dropdown

    Here is a screen shot of what I'm after...

    Keep the center dropdown
    IF any check boxes are checked THEN disregard the dropdown and use the checkbox options selected

    there may be an easier way.


  5. #5
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Batch Status Update list as checkmark boxes, not dropdown

    If it's any easier to replace the dropdown all together, that would be fine too to avoid both.

    With this code I am still missing something (array?) but at least it generates one checkbox and one status bin # (the last id # of our bins 22)

    PHP Code:
                    <td class="smallText" align="center"><?php
                      
    echo zen_draw_checkbox_field('order_status[' $orders_statuses->fields['orders_status_id'] . ']''yes'$checked);
                      echo 
    $orders_status->fields['orders_status_id']; ?></td>

  6. #6
    Join Date
    Feb 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: Batch Status Update list as checkmark boxes, not dropdown

    Quote Originally Posted by sbbemn View Post
    Is there a way to call up say 4 Bins to display after search instead of the one option drop down menu?
    I've actually been looking for a way to do this for a while...There's actually a member of my development team working on a solution to this at the moment (or, he's meant to be...) - i'll see if he's got any further with it in the morning and post back here with his results!

  7. #7
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: Batch Status Update list as checkmark boxes, not dropdown

    Sounds GREAT!

    I hope this works out for you! Here's where I'm at if this direction makes sense....



    I am keeping the dropdown intact while calling 3 additional (optional) Bins. Pick from the dropdown like normal and choose the extra bins to include if wanted.

    PHP Code:
    <tr>
                    <td class="smallText" align="center"><?php echo HEADING_SEARCH_STATUS?></td>
                    <td class="smallText" align="center"><?php echo zen_draw_pull_down_menu('status'array_merge(array(array('id' => '''text' => TEXT_ALL_ORDERS)), $orders_statuses), $_GET['status'], ''); ?></td>
                    <td class="smallText" align="left">
                      <?php echo zen_draw_checkbox_field('status''1'$orders_status_checked);?>&nbsp;OSR<br />
                      <?php echo zen_draw_checkbox_field('status''1'$orders_status_checked);?>&nbsp;SO<br />
                      <?php echo zen_draw_checkbox_field('status''1'$orders_status_checked);?>&nbsp;ORWP
                    </td>
                  </tr>
    I'm stuck as to how to link the certain Bin IDs to the check boxes for form submission along with the dropdown selection.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 8 Oct 2014, 10:31 PM
  2. possible? order status list to checkboxes, not dropdown
    By sbbemn in forum Managing Customers and Orders
    Replies: 1
    Last Post: 26 Jan 2012, 08:06 PM
  3. Dropdown Boxes in Products Update
    By NickCB1966 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 7 Aug 2010, 12:37 AM
  4. Batch Status Update Without Super Orders
    By compwhizmm in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 8 Nov 2007, 12:39 PM
  5. ZenCart 1.3.5 - Super_orders - Batch Status Update
    By SIGEAL in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 12 Jul 2007, 05:21 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