Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Show Shipping Method on Main Admin Page

    How can I show the shipping method in the New Orders box on the main Admin index page?

    Jacque

    Just knowledgeable enough to be dangerous.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Show Shipping Method on Main Admin Page

    Add the field from the orders table for:
    shipping_method

    And then display it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Re: Show Shipping Method on Main Admin Page

    In ZC 1.3.7 do I place it in admin/index.php? If so where?

    Just knowledgeable enough to be dangerous.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Show Shipping Method on Main Admin Page

    Most likely you'd be customizing this section of code around line 163:
    PHP Code:
    <div class="header"><?php echo BOX_ENTRY_NEW_ORDERS?> </div>
      <?php  $orders $db->Execute("select o.orders_id as orders_id, o.customers_name as customers_name, o.customers_id, o.date_purchased as date_purchased, o.currency, o.currency_value, ot.class, ot.text as order_total from " TABLE_ORDERS " o left join " TABLE_ORDERS_TOTAL " ot on (o.orders_id = ot.orders_id) where class = 'ot_total' order by orders_id DESC limit 5");

      while (!
    $orders->EOF) {
        echo 
    '              <div class="row"><span class="left"><a href="' zen_href_link(FILENAME_ORDERS'oID=' $orders->fields['orders_id'] . '&origin=' FILENAME_DEFAULT'NONSSL') . '" class="contentlink"> ' $orders->fields['customers_name'] . '</a></span><span class="center">' $orders->fields['order_total'] . '</span><span class="rigth">' "\n";
        echo 
    zen_date_short($orders->fields['date_purchased']);
        echo 
    '              </span></div>' "\n";
        
    $orders->MoveNext();
      }
    ?>
    </div>
    Include the field on the select and the output for the display ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Apr 2005
    Location
    Spokane, Washington
    Posts
    372
    Plugin Contributions
    0

    Default Re: Show Shipping Method on Main Admin Page

    I made the following changes....

    Code:
    <div id="colthree">
    <div class="reportBox">
    <div class="header"><?php echo BOX_ENTRY_NEW_ORDERS; ?> </div>
      <?php  $orders = $db->Execute("select o.orders_id as orders_id, o.customers_name as customers_name, o.customers_id, o.date_purchased as date_purchased, o.shipping_method as shipping_method, o.currency, o.currency_value, ot.class, ot.text as order_total from " . TABLE_ORDERS . " o left join " . TABLE_ORDERS_TOTAL . " ot on (o.orders_id = ot.orders_id) where class = 'ot_total' order by orders_id DESC limit 5");
    Specifically, added o.shipping_method as shipping_method but don't see it.

    I added it in admin/index.php

    Jacque

    Just knowledgeable enough to be dangerous.

 

 

Similar Threads

  1. USPS doesn't show as shipping method
    By signfolk in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 14 Nov 2011, 08:51 PM
  2. Show shipping method
    By fog49 in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 9 Aug 2009, 06:37 PM
  3. Show shipping method on invoice
    By droidwork in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 May 2009, 04:20 PM
  4. Only show payment method when UPS shipping method chosen?
    By helen610 in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Aug 2008, 03:04 AM
  5. Show Shipping Method on Main Admin Page
    By jacque427 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Jun 2007, 05:31 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