rubyonrailsin

A Ruby and Rails talk

Thursday, March 11, 2010


[spree-user] Re: date and time picker

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hi Steph,

Thanks for your reply. I'll take a look in at your code.

// jb

On Mar 11, 5:12 am, Stephanie Powell <st...@endpoint.com> wrote:
> s/create a model/create a migration/
>
> Stephanie Powell wrote:
> > Hi JB,
>
> > I've been working on overriding / adding to the checkout view. There
> > actually aren't any hooks inside the checkout form from what I can
> > tell, so you are going to have to override the views
> > RAILS_ROOT/vendor/extensions/theme_default/app/views/checkout/*.
>
> > You also will need to create a model to introduce new columns in the
> > checkout or order object (I'd probably go with the order model). You
> > can refer to the extension at
> >http://github.com/stephp/spree-order-noteto see how I've added a
> > model to the order model, overrode the checkout/edit.html.erb view,
> > and added functionality to save the order_note to the order model
> > during checkout. This extension isn't finalized, but it might be a
> > good starting reference on adding to the order model in checkout.
>
> > ~Steph
>
> > jb wrote:
> >> Hello,
>
> >> I'm trying to develop a spree site for a pizza restaurant. Now in the
> >> checkout procedure I'd like to add a date and time picker for
> >> delivery.
>
> >> So on checkout a date and time for delivery can/must be given.
>
> >> What would be the right way to implement this.
> >> Any help and examples appreciated.
>
> >> Kind regards,
>
> >> jb

--
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