Forums / Templates, Stylesheets, Page Layout / Layout of attributes on Email Confirmation

Layout of attributes on Email Confirmation

Locked

Views: 1,298

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
13 Feb 2009, 1:14 AM
#1
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Layout of attributes on Email Confirmation

I'd like to adjust a small thing. Here's an example of how my Confirmation Email looks (the same as Cart Contents page) with a text attribute that appears on each order:

  • Message on card: - You're an inspiration to us all! ```
    <br>

Love,

Uncle Tommy

I'd like to put a line break so that it looks like this:

* Message on card: - 
You're an inspiration to us all! May your love continue to grow.

      Love,

      Uncle Tommy

(The point is that I forward some emails to a drop-shipper and A) want to make it as easy as possible for him to copy and paste and B) be certain the message layout is correct.) If this is possible, I imagine other attributes will also have the line break, which is fine because it's better than now.  
 
Cheers,

Robbie
13 Feb 2009, 4:03 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Layout of attributes on Email Confirmation

giftmeister:

I'd like to adjust a small thing. Here's an example of how my Confirmation Email looks (the same as Cart Contents page) with a text attribute that appears on each order:

  • Message on card: - You're an inspiration to us all! ```
    <br>
> 
> Love,
> 
> Uncle Tommy
> 
> I'd like to put a line break so that it looks like this:
> 
> * Message on card: - 
> You're an inspiration to us all! May your love continue to grow.
> 
>       Love,
> 
>       Uncle Tommy
> 
> (The point is that I forward some emails to a drop-shipper and A) want to make it as easy as possible for him to copy and paste and B) be certain the message layout is correct.) If this is possible, I imagine other attributes will also have the line break, which is fine because it's better than now.  
>  
> Cheers,
> 
> Robbie

Gi,
Try adding this to:
Admin panel/ catalog/ option name manager

1. edit the option name below and add the <br /> at the end.
Message on card: - <br />

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

13 Feb 2009, 5:22 AM
#3
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Layout of attributes on Email Confirmation

Almost- that works on the Cart Contents page, but surprisingly not on the Email Confirmation. And I thought they were the same.

Can it be something in includes/classes/order.php? I thought of putting a <br /> somewhere here, but I'm not familiar enough.

  $this->products[$index]['attributes'][$subindex] = array('option' => $attributes->fields['products_options'],
                                                                   'value' => $attributes->fields['products_options_values'],
                                                                   'prefix' => $attributes->fields['price_prefix'],
                                                                   'price' => $attributes->fields['options_values_price']);

Thanks,

R

13 Feb 2009, 3:11 PM
#4
giftmeister avatar

giftmeister

Zen Follower

Join Date:
Jan 2009
Location:
Montreal, Canada
Posts:
230
Plugin Contributions:
0

Re: Layout of attributes on Email Confirmation

Now it works! I had to set the email to HTML (I prefered text).

And I thought it was something obscure in the code...Thanks a bunch!

R

14 Feb 2009, 6:09 AM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Layout of attributes on Email Confirmation

Gi,
Thanks for the update, Great to know for me and fellow Zenners on this fix...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.