Post by tonnaer » Mon Jan 17, 2011 4:20 am

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?

Newbie

Posts

Joined
Mon Jan 17, 2011 3:58 am

Post by i2Paq » Mon Jan 17, 2011 4:45 am

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by tonnaer » Mon Jan 17, 2011 5:16 am

Version 1.4.9.3

Newbie

Posts

Joined
Mon Jan 17, 2011 3:58 am

Post by i2Paq » Mon Jan 17, 2011 5:33 am

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by philbydevil » Mon Jan 17, 2011 5:36 am

In my 1.4.9.3 it shows all on the Invoice.
Really? Mine has the customer's details (shipping and billing), but not the store's address, phone number, etc.

Thinking about it, I think that I will need to add this too.

I Image cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am
Location - Sunshine Coast, Australia

Post by philbydevil » Mon Jan 17, 2011 10:47 am

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.

I Image cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am
Location - Sunshine Coast, Australia

Post by tonnaer » Mon Jan 17, 2011 3:54 pm

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.
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.
i2Paq wrote:In my 1.4.9.3 it shows all on the Invoice.
Well, in mine it doesn't. And it seems I'm not the only one...
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?

Newbie

Posts

Joined
Mon Jan 17, 2011 3:58 am

Post by tonnaer » Mon Jan 17, 2011 4:23 pm

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

Code: Select all

<?php echo $address; ?>
and it works :)

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; ?>
;D

Newbie

Posts

Joined
Mon Jan 17, 2011 3:58 am

Post by philbydevil » Mon Jan 17, 2011 6:35 pm

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

I Image cmd-f, cmd-c, cmd-v, cmd-z + vQmod.
My favourite page...
v1.5.4.1


User avatar
Active Member

Posts

Joined
Fri Dec 03, 2010 5:20 am
Location - Sunshine Coast, Australia

Post by tonnaer » Mon Jan 17, 2011 7:15 pm

philbydevil wrote: .. checked in the contact.ptl file to see what was used there.
Me too ;D

Newbie

Posts

Joined
Mon Jan 17, 2011 3:58 am

Post by Ozfarmer » Wed Sep 07, 2011 7:23 am

I am using 1.5.1.1 and it shows the store logo in the email but not the address etc, is there any way to enable that?

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia
Who is online

Users browsing this forum: No registered users and 8 guests