Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Totals in Admin/invoice.php

    Does anyone have an idea how to get the Tax line below the Total line, I think it is in this code.

    for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
    echo ' <tr>' . "\n" .


    ' <td align="right" class="'. str_replace('_', '-',
    $order->totals[$i]['class']) . '-Text">' .
    $order->totals[$i]['title'] . '</td>' . "\n" .

    ' <td align="right" class="'. str_replace('_', '-',
    $order->totals[$i]['class']) . '-Amount">' .
    $order->totals[$i]['text'] . '</td>' . "\n" .

    ' </tr>' . "\n";

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Totals in Admin/invoice.php

    If you change your sort orders in Admin->Modules->Order Total and make your Tax option have a higher sort order than your Total, then future orders will show the details in the new sort order.

    Otherwise you're going to have to get into some fancy recoding.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Totals in Admin/invoice.php

    Thankyou that did the trick.

 

 

Similar Threads

  1. v154 admin/orders.php not showing correct currency on totals and shipping. Only shows USD
    By gerrybakker in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 9
    Last Post: 6 Sep 2015, 03:41 AM
  2. v151 How to add pricing and shipping totals to Admin - invoice or packing slip?
    By janiceguazzo in forum Managing Customers and Orders
    Replies: 1
    Last Post: 23 Apr 2013, 12:20 AM
  3. Replies: 1
    Last Post: 9 Sep 2009, 12:11 PM
  4. Replies: 1
    Last Post: 24 Aug 2009, 07:53 PM
  5. Invoice Totals
    By beth99 in forum Managing Customers and Orders
    Replies: 0
    Last Post: 7 May 2007, 02:09 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