Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding another field to order confirmation email


Guest

Recommended Posts

Posted

Hi there

 

I recently installed a contribution to the checkout process which lets a customer pick a delivery date.

 

This delivery date, along with all the other order details, gets sent to the store owner's admin area.

 

I was wondering how I'd add this delivery date to the email the customer gets when they've placed a successful order. As they have no reference for this once the orders gone through.

 

I assume its a case of pulling the date in, just like all the other fields get pulled into the email. I'm hopeful it can be done.

 

But as a bit of a novice i'm not sure how many files i'd need to edit - would it be just checkout_process?

 

Any info would be great.

Posted
Hi there

 

I recently installed a contribution to the checkout process which lets a customer pick a delivery date.

 

This delivery date, along with all the other order details, gets sent to the store owner's admin area.

 

I was wondering how I'd add this delivery date to the email the customer gets when they've placed a successful order. As they have no reference for this once the orders gone through.

 

I assume its a case of pulling the date in, just like all the other fields get pulled into the email. I'm hopeful it can be done.

 

But as a bit of a novice i'm not sure how many files i'd need to edit - would it be just checkout_process?

 

Any info would be great.

 

 

Hi,

 

most probably you'd only need to edit checkout process. It depends on how you are saving the added info right now in the database.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
Hi,

 

most probably you'd only need to edit checkout process. It depends on how you are saving the added info right now in the database.

 

The delivery date info is stored in a new field called shipdate within the orders table as a Varchar (10). So i need to ref. that somehow - but not sure what to do exactly in checkout_process.

 

Thanks

David

Posted
The delivery date info is stored in a new field called shipdate within the orders table as a Varchar (10). So i need to ref. that somehow - but not sure what to do exactly in checkout_process.

 

Thanks

David

 

how do you insert it into the shipping table? Have you added it to the order class?

 

Anyway, use the same call for it as when you are inserting it, we are still in the same file

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...