rubyonrailsin

A Ruby and Rails talk

Friday, March 12, 2010


Re: [spree-user] Re: customizing the order mailer confirmation

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

This should be very straightforward, as order.rb has:


  has_one :bill_address, :through => :checkout
  has_one :ship_address, :through => :checkout

So u can just override the order_mailer template (confirm.html.erb) with something like: 


On 12 March 2010 14:28, jeremy nagel <jeremymnagel@gmail.com> wrote:
I'd like to know this too.

On Mar 5, 6:16 am, ravenna <t...@ravennainteractive.com> wrote:
> I need to add the billing and shipping addresses  to the Order
> Confirmation Mailer.  But the addresses belong to the checkout, is it
> possible?
>
> thanks

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.




--
Brian Quinn

-------------------------------------------
Rails Dog LLC
2 Wisconsin Circle, Suite 700
Chevy Chase, MD 20815
voice: (301)560-2000
-------------------------------------------

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To post to this group, send email to spree-user@googlegroups.com.
To unsubscribe from this group, send email to spree-user+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spree-user?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive