cancel
Showing results for 
Search instead for 
Did you mean: 

Order Confirmation Email content based on a variable

SOLVED

Order Confirmation Email content based on a variable

Hi,

 

The order confirmation email being sent to a customer has the date and time of order placement. Is there any way to add a line or 2 of content based the time of order placement?

 

For e,g.

 

If the order is placed before 12 Noon then the line would read: "Your order will be delivered today between 4 and 7"

 

If the order is placed after 12 Noon then the line would read: "Your order will be delivered tomorrow between 4 and 7"

 

Is this possible without coding i.e. via an extention?

 

Thanks

4 REPLIES

Re: Order Confirmation Email content based on a variable

It's not possible to do this without an extension. Magento doesn't provide the functionality to add any conditional statements to the email templates. Thus, you'll need to create an extension and a BLOCK that manages your functionality within that extension. You'll be able add this block to the email templates and accomplish what you're looking for.

Enterprise Architect

800-207-1221
https://merchantprotocol.com

Magento Extension Developers

Re: Order Confirmation Email content based on a variable

Use the following module to add additional information with order, 

 

http://www.magentocommerce.com/magento-connect/additional-checkout-attributes-custom-fields-manager....

Re: Order Confirmation Email content based on a variable


jonathonbyrd wrote:

It's not possible to do this without an extension. Magento doesn't provide the functionality to add any conditional statements to the email templates. Thus, you'll need to create an extension and a BLOCK that manages your functionality within that extension. You'll be able add this block to the email templates and accomplish what you're looking for.



I figured this would need an extention. Thanks for your help.

 

FishVish.com

 

 

Re: Order Confirmation Email content based on a variable


stevenwaugh wrote:

Use the following module to add additional information with order, 

 

http://www.magentocommerce.com/magento-connect/additional-checkout-attributes-custom-fields-manager....


it works for most things i might need but not for the one thing I do need... thanks anyway the link was very helpful