X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   modify order / invoice template (https://forum.x-cart.com/showthread.php?t=9359)

michael barrett 09-15-2004 12:13 AM

modify order / invoice template
 
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

frankdux 09-16-2004 07:04 AM

You could just use a table as follows:

Code:

<table width="100%"  border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td>label status code here</td>
    <td>status of orders code here</td>
  </tr>
</table>


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".

michael barrett 09-16-2004 11:25 PM

Identifying code
 
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 ?

frankdux 09-17-2004 05:19 AM

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.

michael barrett 09-17-2004 11:25 PM

Thanks for your persistence
 
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


All times are GMT -8. The time now is 09:44 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.