I've searched for it, but couldn't find anything. What I want is to add the shop's contact details (store name, address, telephone) to the invoice. Right now it only shows the logo.
Is there are possibility to set this somewhere in the admin panel (I've been looking all over, but I might have missed it), or do I have to make some changes (what changes?) in the invoice template?
Is there are possibility to set this somewhere in the admin panel (I've been looking all over, but I might have missed it), or do I have to make some changes (what changes?) in the invoice template?
Always mention version of your OpenCart!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
In my 1.4.9.3 it shows all on the Invoice.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Really? Mine has the customer's details (shipping and billing), but not the store's address, phone number, etc.In my 1.4.9.3 it shows all on the Invoice.
Thinking about it, I think that I will need to add this too.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Hardcoding the store address is fairly easy, just figure out where you want it and put it into catalog/view/theme/theme/default/mail/order_confirm.tpl
But there should be another way to do it so it's not hard coded.
Something like: <?php echo $store_address; ?>
But this isn't quite right.
But there should be another way to do it so it's not hard coded.
Something like: <?php echo $store_address; ?>
But this isn't quite right.
I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Thanks for the info. Since Norman says it's working for him, I would like to avoid hardcoding anything. Let's hope he (or someone else) can tell if he uses a special module, set some setting, or whatever.philbydevil wrote:Hardcoding the store address is fairly easy, just figure out where you want it and put it into catalog/view/theme/theme/default/mail/order_confirm.tpl
But there should be another way to do it so it's not hard coded.
Something like: <?php echo $store_address; ?>
But this isn't quite right.
Well, in mine it doesn't. And it seems I'm not the only one...i2Paq wrote:In my 1.4.9.3 it shows all on the Invoice.
I was using another template, village black, but I changed back to the default template, and still it doesn't work. I thought so, because the village black template doesn't contain an order_confirm.tpl. Are you sure it worked for you 'out of the box'? Or are you using a non-default template, a special module, anything?
I checked the default theme's order confirmation mail template, and it doesn't contain the shop address etc.
So I copied it to my theme's folder and added
and it works 
Now I only have to find the other variable names (like telephone). I'll let you know.
Edit: telephone number is:

So I copied it to my theme's folder and added
Code: Select all
<?php echo $address; ?>

Now I only have to find the other variable names (like telephone). I'll let you know.
Edit: telephone number is:
Code: Select all
<?php echo $telephone; ?>

I just worked that out too
.. checked in the contact.ptl file to see what was used there.

I heart cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1
Who is online
Users browsing this forum: No registered users and 99 guests