Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing the Detailed Invoice link in a customers confirmation email


dlcmpls

Recommended Posts

When a customer receives a confirmation email from us it contains this text:

 

 

 

Company Inc.

------------------------------------------------------

Order Number: 1837

Detailed Invoice: https://somecompany.com/catalog/account_history_info.php?order_id=1837

Date Ordered: Saturday 17 October, 2009

 

Products

------------------------------------------------------

1 x PRODUCT EAST = $8.29

Weight (+/- 4g) any

------------------------------------------------------

 

etc.

 

 

 

All I want to do is add the www into the Detailed Invoice link.

 

Can anyone tell where to do this?

 

Thanks.

Link to comment
Share on other sites

When a customer receives a confirmation email from us it contains this text:

 

 

 

Company Inc.

------------------------------------------------------

Order Number: 1837

Detailed Invoice: https://somecompany.com/catalog/account_history_info.php?order_id=1837

Date Ordered: Saturday 17 October, 2009

 

Products

------------------------------------------------------

1 x PRODUCT EAST = $8.29

Weight (+/- 4g) any

------------------------------------------------------

 

etc.

 

 

 

All I want to do is add the www into the Detailed Invoice link.

 

Can anyone tell where to do this?

 

Thanks.

It usess the store URL in the config file.

 

That's what you need to change.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

It usess the store URL in the config file.

 

That's what you need to change.

 

 

Ok, that makes sense. But for reasons I won't go into, I'm wondering if I can hard code the url in checkout_process.php

 

I'm assuming I would change this code:

 

EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .

 

Any additional thoughts?

Link to comment
Share on other sites

You can't have your cake and eat it, too.

 

Either the SSL cert. needs the www or it doesn't.

 

So either all the SSL links on the site are giving security warnings when viewed in IE, or this link will.

 

Neither of which are good for business.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...