| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Compact Attractive Invoice | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
Re: Compact Attractive Invoice
Finally have this one figured out.
The $order.display items are found in func.order.php. This is what I did.... around line 137 you will find: # Assign the display_* vars for displaying in the invoice if (@$order["extra"]["tax_info"]["display_taxed_order_totals"] == "Y" && !empty($order["extra"]["tax_info"]["taxed_subtotal"])) $order["display_subtotal"] = $order["extra"]["tax_info"]["taxed_subtotal"]; else $order["display_subtotal"] = $order["subtotal"]; I changed it to this: if (@$order["extra"]["tax_info"]["display_taxed_order_totals"] == "Y" && !empty($order["extra"]["tax_info"]["taxed_subtotal"])) $order["display_subtotal"] = $order["subtotal"]; else $order["display_subtotal"] = $order["subtotal"]; I did this for discounted subtotal and for shipping since my ignorant state collects sales tax for shipping. Then i went into the order_data.tpl file and mover the sales tax from the bottom of the invoice to the line before Total. So now it looks like this: |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|