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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

help - trying to add new textarea field to ecommerce checkout page?

Go to End



Community Member, 6 Posts

26 October 2008 at 4:28am

Edited: 26/10/2008 4:29am

Hi there,

I'm trying to add a new field to the checkout page. I can insert the new textarea field ok, but i can't get the contents to appear in the confirmation page or the sent email.

If anyone can point me in the right direction, i'd really appreciate it. I'm not a php expert!

I am using a version of the higherground template, and have done the following:

In ecommercerole.php:

added the following in function extraDBFields() {:

'RentalDateNotes' => 'HTMLText'

added the following in

function getEcommerceFields() {
new TextareaField('RentalDateNotes', 'Please let us know what dates you require the equipment'),

then did a db build,

Then in the confirmation page - in themes/themename/templates\Includes\, i have placed the following:

<tr class="summary">
			<td colspan="3" scope="row" class="left">Notes</td>
			<td class="price">$RentalDateNotes</td>

I've tried a number of different things, including rebuilding the db, and flushing the cache, but still cannot get the contents of

to appear in the email or confirmation page.

what am i missing here?
Any ideas?
thanks in advance