Hi

I have added this module and added a 'donation' node and wanted to personalise the details that showed on the node page so I created my own node-donation.tpl.php.

All is working fine except that I can't seem to find out how to print the amount box nor the add to cart function.

Could you point me in the right direction for this? I have been searching all over Google and the Ubercart forums and can't find an answer!

Comments

Saoirse1916’s picture

Here's what I'm using in my node-donation.tpl.php:

<div id="node-<?php print $node->nid; ?>" class="node<?php if ($sticky) { print ' sticky'; } ?><?php if (!$status) { print ' node-unpublished'; } ?> clear-block">
	<div class="content">
		<?php if ($node->content['body']['#value']) {
			echo $node->content['body']['#value'];
			echo $node->content['add_to_cart']['#value'];
		}
		?>
	</div>
</div>