Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add store details to the top of an invoice?


katman1971

Recommended Posts

Hi

 

when i click on a customer order in the admin area and then I click on invoice, at the top of the invoice it says:

store name

address

country

phone

 

How do I add my company details to this area? Thanks

Link to comment
Share on other sites

Hi

 

when i click on a customer order in the admin area and then I click on invoice, at the top of the invoice it says:

store name

address

country

phone

 

How do I add my company details to this area? Thanks

What is in your Administration -> Configuration -> My Store in the places for store name, address, and phone number?

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

What is in your Administration -> Configuration -> My Store in the places for store name, address, and phone number?

 

I did that but now my store details are squashed against the left hand side because /images/store_logo.png is 785 pixels wide. If I reduce the width of this image, I'll be reducing the width of my website header..... any suggestions how to fix? Thanks.

Link to comment
Share on other sites

I did that but now my store details are squashed against the left hand side because /images/store_logo.png is 785 pixels wide. If I reduce the width of this image, I'll be reducing the width of my website header..... any suggestions how to fix? Thanks.

Maybe you should reconsider your store logo? Or perhaps move your logo on a line of it's own.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Maybe you should reconsider your store logo? Or perhaps move your logo on a line of it's own.

 

I want to move the logo onto a line of it's own. It was the packing slip, rather than the invoice I was referring to. I'm assuming I need to change catalog/admin/packingslip.php. Is that correct? And is it this part of the code I need to change? And how would I make the logo appear on a new line?

 

  <tr>
       <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
       <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td>
     </tr>

 

Thanks for your help.

Link to comment
Share on other sites

I want to move the logo onto a line of it's own. It was the packing slip, rather than the invoice I was referring to. I'm assuming I need to change catalog/admin/packingslip.php. Is that correct? And is it this part of the code I need to change? And how would I make the logo appear on a new line?

 

  <tr>
       <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
</tr>
<tr>
       <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td>
     </tr>

 

Thanks for your help.

Basic html...

 

 

Put it in a row by itself.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Hi

 

when i click on a customer order in the admin area and then I click on invoice, at the top of the invoice it says:

store name

address

country

phone

 

How do I add my company details to this area? Thanks

 

It's very simple.

 

 

In your root level contact_us.php page, where it says:

 

<tr>

<td class="main"><?php echo ENTRY_NAME; ?></td>

</tr>

 

enter this code ABOVE:

 

<tr>

<td class="main"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>

</tr>

<tr>

<td> </td>

</tr>

 

The second and blank row is only there to

apply some spacing between your store details

and the Contact Us script itself.

 

New Websters please note - BACKUP existing files

before editing, and don't use the osCommerce

File Manager to edit files (it causes parse

errors). Download the file to edit, and

edit in a plain text editor like Notepad,

Text Pad or Crimson Editor. Do not use

Word or Wordpad - they are not plain text

editors.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...