Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

How to show CustomerOrderNote field in checkout


Go to End


2 Posts   1266 Views

Avatar
Benwitz

Community Member, 7 Posts

17 January 2012 at 10:03am

I need order notes field for customer to input at checkout.

I see a CustomerOrderNote field in the order db but cant seem to get it to show on the CheckoutPage class. Im not finding where the fields are being compiled, thought this was looped through in saphire form.ss but theres something else going on here. any guidance would be helpful. I have not been able to get 'use different ship address' to show either.

Avatar
Benwitz

Community Member, 7 Posts

19 January 2012 at 3:57am

I was able to get CustomerOrderNote to work:
$rightFields->push(new TextField('CustomerOrderNote','Order Notes')); in OrderForm

works great, showing in order summery and CMS order view. So cool once sorted!!

no surprise there, i think my problem was trying to get it to show with the shipping fieldset $shippingfields. So now i need to figure out how to get the alt shipping fields to show and ill be rolling. any pointers would be appreciated.