Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    174
    Plugin Contributions
    0

    Default Tax title/description blank on orders

    We upgraded to version 1.3.9d, and now California orders are working fine (should be taxed, order page, invoice, and packing slip all say "CA TAX 8.25%:" and the amount).

    However, all non-California orders are displaying strangely. When the order is edited, or you view the packing slip/invoice, there is a blank spot where the "CA TAX 8.25%" is on the CA orders, and next to it it says $0.00.

    Here are two examples from the "edit order" page:

    GOOD:
    Total Weight is lbs. oz.
    Sub-Total: $0.65
    Store Pickup (Pick up at our Ventura, CA location): $0.00
    CA TAX 8.25%: $0.05
    Total: $0.70

    BAD:
    Total Weight is lbs. oz.
    Sub-Total: $43.80
    Zone Rates (Shipping to US): $5.95
    : $0.00
    Total: $49.75

    Any idea what happened to the display here, and how I can get the tax line to only show for Californians?

    On a side issue, the site doesn't track weights, so why does "Total Weight is lbs. oz." show here?

    We're using these add-ons:

    * Newsletter subscribe
    * Image Handler
    * PDF Order Center
    * Stock by Attributes
    * Database backup
    * Email Address Exporter
    * Sales Report
    * USPS.com Click-n-Ship AutoFill Button
    * Wordpress on Zen
    * Products Profit Margin Calculator Report
    * quickbooks_import_qbi_3-21b
    * time_zone_offset_v1-3-8a

    Thanks!

  2. #2
    Join Date
    Mar 2005
    Posts
    174
    Plugin Contributions
    0

    Default Re: Tax title/description blank on orders

    I have dug into this some more, but I'm still stuck.

    In the admin orders.php (and invoice.php and packingslip.php), here is the code that's causing me trouble:

    Code:
    <?php
      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";
      }
    ?>
    Before the upgrade, it wouldn't display the tax line when the customer wasn't charged tax. Now it displays it no matter what, with no title and $0.

    I had a Eureka! moment when I found this in Configuration > My Store:

    Sales Tax Display Status
    Always show Sales Tax even when amount is $0.00?
    0= Off
    1= On

    I turned it off, but no change! Maybe this doesn't apply to the admin?

  3. #3
    Join Date
    Mar 2005
    Posts
    174
    Plugin Contributions
    0

    Default Re: Tax title/description blank on orders

    Solved-ish! I renamed my tax zone from "California" to "California Tax" and all seems fine now.

 

 

Similar Threads

  1. Product title after Description in Title
    By Paul69 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 3 Jul 2011, 11:36 PM
  2. blank title and description on products
    By ridelow in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 13 Jan 2011, 10:19 AM
  3. Description Title and Features Title with Bullet Points
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Dec 2010, 09:36 PM
  4. Tip: Use TAX AMOUNT - not TAX in description
    By Peekay in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 14 May 2007, 06:54 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