17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1337 Views |
-
help - trying to add new textarea field to ecommerce checkout page?

26 October 2008 at 4:28am Last edited: 26 October 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\OrderInformation.ss, i have placed the following:
<tr class="summary">
<td colspan="3" scope="row" class="left">Notes</td>
<td class="price">$RentalDateNotes</td>
</tr>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.$RentalDateNotes
what am i missing here?
Any ideas?
thanks in advance
| 1337 Views | ||
|
Page:
1
|
Go to Top |

