Hi, I use this quick hack. it works great but you habe to keep in mind that it alters satchmo core so you need to keep your eye on it when you upgrade your satchmo. 1; Add your note input field to templates/shop/checkout/form.html lets assume its name="ordernote" 2; Add this in sathcmo/apps/payment/views/contact.py into function contact_info(request, **kwargs): on line 70 in my version right after if form.is_valid(): order.notes = new_data["ordernote"] order.save()
That's all. Now the note is saved into the Order models notes field. Hope it helps lzantal On Sep 3, 8:30 am, Stuart Laughlin <[email protected]> wrote: > Did anyone ever figure out how to get order notes working? The notes > field is on the Order model and i see right where I want to put the > field on step 1 of the checkout process.. so close I can taste it! But > I'm having some trouble figuring out exactly what's going on in the > backend and how to get order notes working properly. There's some > pretty dynamic code in there! > > Thanks! > > --Stuart > > On Thu, Apr 1, 2010 at 9:55 PM, davis <[email protected]> wrote: > > This is something I've been wanting to do as well, but I haven't had > > the time to figure it out. Hopefully, someone else has done it. > > > On Apr 1, 8:16 pm, GuyBrush <[email protected]> wrote: > >> Is it possible to use the notes field in the checkout page? I'm trying > >> to use it as a Gift Note form. > >> I successfully added the form to the page but I'm not able to save notes. > >> I have been looking at satchmo code for the last couple of days + trying > >> to understand django forms better but still don't know how to do this. > > >> Can any one give me some clues? > >> Any help is appreciated. > >> Thanks! > > > -- > > You received this message because you are subscribed to the Google Groups > > "Satchmo users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/satchmo-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Satchmo users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.
