companyname_small.gif
Hello
I have a modified logo as above appearing on the /common_files/mail/html/order_invoice.tpl I'm just wondering how I would prevent the logo from appearing on the screen version displayed immediately after 'Order Confirmation'. Can anyone assist me with this query? Thanks Robert X-Cart 4.4.1 |
Re: companyname_small.gif
Look in the order_invoice.tpl - there is an if statement in most div/td tags about the styling - classes apply for onscreen invoice and "style" applies for the email invoice. Just use the same logic to show the logo for email invoice only
|
Re: companyname_small.gif
Thanks for the suggestion - I'll give it a try.
Robert |
Re: companyname_small.gif
Tried but failed to understand the logic. This is what I have which I understand controls the company image. Is ita question of adding a wrap around the image statement to limit it to the email confirmation - if so would you mind demonstrating so I can understand for future occurances?
Many thanks <td colspan="3" {if $is_nomail eq 'Y'}class="invoice-company-icon" {else}style="vertical-align: top; padding-top: 0px;"{/if}> <img src="{$ImagesDir}/companyname_small.gif" alt="" float: right; /> </td> |
Re: companyname_small.gif
Code:
<td colspan="3" {if $is_nomail eq 'Y'}class="invoice-company-icon" {else}style="vertical-align: top; padding-top: 0px;"{/if}> |
Re: companyname_small.gif
Many thanks Steve,
Do you have a link to a site where I can see a summary of commands etc. Something like W3schools? My regards Robert |
Re: companyname_small.gif
php.net and smarty.net - XC uses PHP and Smarty templates. This is way beyond just a simple list of commands.
|
All times are GMT -8. The time now is 04:55 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.