| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Invoice totals not aligning | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() After many hours searching the forum with out luck '
![]() http://www.gammamagnetics.com.au/xcart_invoice.gif Thank you in anticipation Jim
__________________
X-Cart 4.0.17 Gold X-Cart 4.0.17 Special Offers Mac OS X 10.4.3 Apache 1.3.33 PHP 4.3.11 MySQL 4.1.14 |
|||||||
#2
|
|||||||
|
|||||||
![]() Open up mail/html/order_data.tpl, you'll need to increase the size of that table cell.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for pointing me to the correct template, however I haven't a clue how to increase the size of a table cell. PHP is all greek to me.
Taking the "Total" label as an example {$lng.lbl_total|truncate:$max_truncate:"...":true| cat:":"|string_format:$max_space}{include file="currency.tpl" value=$order.total} How would I adjust it? Am I looking in the right place?
__________________
X-Cart 4.0.17 Gold X-Cart 4.0.17 Special Offers Mac OS X 10.4.3 Apache 1.3.33 PHP 4.3.11 MySQL 4.1.14 |
|||||||
#4
|
|||||||
|
|||||||
![]() It isn't the Smarty you want to be messing with, it is the html. Look for this line of code in the template:
Code:
and replace it with this: Code:
see if that does the trick ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() That's fixed half the problem. All the templates involved preview okay but the emailed invoice notification still has the same problem ??
__________________
X-Cart 4.0.17 Gold X-Cart 4.0.17 Special Offers Mac OS X 10.4.3 Apache 1.3.33 PHP 4.3.11 MySQL 4.1.14 |
|||||||
#6
|
|||||||
|
|||||||
![]() Are you using html e-mail? If not, those templates are in the mail/ folder.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() i'm using html e-mail. Step through: As a customer I place an order, in checkout, payment method is 'Purchase Order', I press 'Submit' the order is confirmed and an invoice is generated on screen below the confirmation message, the totals on that invoice do not align and the totals on the e-mails sent to me as a customer and me as administrator do not align even though after changing the code as per your instructions the /mail/html templates, order_data.tpl, order_invoice.tpl, order_notification.tpl all preview with proper alignment.
__________________
X-Cart 4.0.17 Gold X-Cart 4.0.17 Special Offers Mac OS X 10.4.3 Apache 1.3.33 PHP 4.3.11 MySQL 4.1.14 |
|||||||
#8
|
|||||||
|
|||||||
![]() Keep changing that 80% numer lower until they do.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() 80% works fine after I changed the tax width to 80% as well. Thank you for your help.
![]()
__________________
X-Cart 4.0.17 Gold X-Cart 4.0.17 Special Offers Mac OS X 10.4.3 Apache 1.3.33 PHP 4.3.11 MySQL 4.1.14 |
|||||||
|
|||
X-Cart forums © 2001-2020
|