Discussions

Theming a checkout pane

Hi all,

Just wondering if anyone has themed a checkout pane. I'd like to theme the address and credit card payment panes.

I might be barking up the wrong tree here, but I've tried this without success in my template.php:

function my_theme_theme() {
return array(
'commerce_payment_credit_card_form' => array(
'template' => 'commerce-payment', // this is the name of the template
'path' => drupal_get_path('theme', 'my_theme') . '/templates',
'arguments' => array('form' => NULL),
),
}

Any ideas?

Cheers,
Simon.

Posted: Jun 29, 2011

Comments