How to add 'thank you' to packing slip?
I'd like to add a 'Thank you for shopping with .....' at the bottom of the packing slip.
Can anybody tell me how to do this. I think it would be something in the admin/packingslip.php but I'm not sure.
I'm sure this is quite easy, but I'm a bit of a noob.
Re: How to add 'thank you' to packing slip
Quote:
Originally Posted by
Nintendoparts
...I think it would be something in the admin/packingslip.php but I'm not sure....
At around lines 171-175 of this file you find:
Quote:
<tr>
<td class="smallText" align="center"><strong><?php echo TABLE_HEADING_DATE_ADDED; ?></strong></td>
<td class="smallText" align="center"><strong><?php echo TABLE_HEADING_STATUS; ?></strong></td>
<td class="smallText" align="center"><strong><?php echo TABLE_HEADING_COMMENTS; ?></strong></td>
</tr>
Insert a fourth <td ...>[your code]</td> just before the </tr>
Re: How to add 'thank you' to packing slip
Thanks for the speedy reply. I want to stick to the using the zencart system properly so I've added the line:
define('PACKINGSLIP_THANKYOU', 'Thank you for shopping with NintendoParts.com.au');
to my INCLUDES/LANGUAGES/CUSTOM/english.php
I'm just not sure what code to use to in this line:
<td class="smallText" align="center"><strong>what code do I put here?</strong></td>
Also should I want to make sure I'm using the overide system correctly, should I be uploading the new packingslip.php to:
ADMIN/CUSTOM/packingslip.php
Re: How to add 'thank you' to packing slip
"what code do I put here?" = <?php echo PACKINGSLIP_THANKYOU; ?>
And, no, there are no overrides for the admin. Just edit the original files directly.
Re: How to add 'thank you' to packing slip
Thanks for the replies. Figured out how to do it:
1) place
define('PACKINGSLIP_THANKYOU', 'Thank you for shopping with mywebsite.com');
into admin/includes/languages/modules/shipping/packingslip.php
anywhere will do, I put mine at the bottom
1)place
<tr>
<td class="smallText" align="center"><strong><?php echo PACKINGSLIP_THANKYOU; ?></strong></td>
</tr>
into admin/packingslip.php
just above
<!-- body_text_eof //-->
but after
</table>
This will give you:
Thank your for shopping with mywebsite.com
just after all the info.
Re: How to add 'thank you' to packing slip
<tr>
<td>
</tr>
should ALWAYS come before </table>
Otherwise your HTML is technically invalid.
Re: How to add 'thank you' to packing slip?
This question is kind of along the same lines.
I use model numbers for my products and would like the invoice and packing slip to sort my products 1st by the model number and then by the product name.
How would I go about doing that? Do I modify the stylesheet or the file?
Thanks!