| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
modify order / invoice template | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Using x-cart 3.5x
I want to modify order_invoice.tpl the status of orders appears under the label status rather than next to it. I tried modify order_invoice.tpl and the related order_status.tpl, but I don't understand it enough to adjust the settings. case of "a little knowledge is a dangerous thing". thanks in advance
__________________
X-Cart version 4.1.9 X-Cart directory /home/downunde/public_html PHP 5.2.5 Details >> GD bundled (2.0.34 compatible) MySQL server 5.0.45-community MySQL client 5.0.45 Web server Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 Operation system Linux Perl 5.008008 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You could just use a table as follows:
Code:
You would just have to be able to identify which code (that includes a template or language variable) is producing "label status" and "status of orders".
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#3
|
|||||||
|
|||||||
![]() thanks for your response.
I understand what you are saying to me However It seems that the include "tpl" statement pushes the content to the next line. Is this your understanding ?
__________________
X-Cart version 4.1.9 X-Cart directory /home/downunde/public_html PHP 5.2.5 Details >> GD bundled (2.0.34 compatible) MySQL server 5.0.45-community MySQL client 5.0.45 Web server Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 Operation system Linux Perl 5.008008 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Setting the "td's" to be smaller or wider might help. Also, if you could post a screenshot it might be easier to make a recommendation.
__________________
X-Cart: 4.0.18 Linux, Apache, MySQL: 4.1.16, PHP: 4.4.2 |
|||||||||
#5
|
|||||||
|
|||||||
![]() thanks for continuing the thread
wasn't able to paste a screenshot... how is it commonly done. if you create an order and submit it. then later look at the order history you will notice that the status of the order appears in a line below the actual label for "status". this appears to occur because the variable for status is inserted using an include statement. to see what I mean, have a look at how the code looks in the order_history.tpl file. yours Michael
__________________
X-Cart version 4.1.9 X-Cart directory /home/downunde/public_html PHP 5.2.5 Details >> GD bundled (2.0.34 compatible) MySQL server 5.0.45-community MySQL client 5.0.45 Web server Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.8b DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.25 Operation system Linux Perl 5.008008 |
|||||||
|
|||
X-Cart forums © 2001-2020
|