Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2009
    Posts
    126
    Plugin Contributions
    0

    Default Sort orders by shipping method - Super Orders

    Hello,

    I am trying to modify the super orders module so I can produce a list of products by the shipping method used.

    I am combining the drop down search for order status on the orders page with the payments search option on the batch form printing.

    I have so far added the following code into admin/super_orders.php:

    Line 171: $shippingmethod = all_payments_array();

    Line 1097:

    <tr><?php echo zen_draw_form('shippingmethod', FILENAME_SUPER_ORDERS, '', 'get', '', true); ?>
    <td class="smallText" align="right"><?php
    echo 'Shipping Method: ' . zen_draw_pull_down_menu('shippingmethod', array_merge(array(array('id' => '', 'text' => TEXT_ALL_ORDERS)), $shippingmethod), $_GET

    ['shippingmethod'], 'onChange="this.form.submit();"'); ?></td>
    </tr>

    The results of this give me the drop down box but the box shows the payment types and not the shipping methods. I assume this is down to the section highlighted in orange. I don't know what to change this to to display the shipping, I have tried all the sensible things I can think of and none seem to work.

    Second to this the functionality of it actually searching by payment type or shipping method seems non exsistant, it simply pools up all orders no matter what payment type is selected.

    Any ideas?
    Last edited by Kim; 15 Jun 2009 at 01:37 AM.

 

 

Similar Threads

  1. Replies: 13
    Last Post: 27 Oct 2010, 05:48 PM
  2. HELP! orders not registering in admin-Super Orders?
    By mtkatgirl in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 Aug 2009, 02:50 AM
  3. Super Orders 2.0 postage marks with Super Orders
    By sketchhgal in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Mar 2009, 03:05 PM
  4. Edit Orders and Super Orders, anyone doing that?
    By swamyg1 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Feb 2009, 06:03 AM
  5. Does changing default currency affect previous orders? coupons? super orders?
    By apemusic in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 21 Apr 2007, 01:53 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