Comment link appears under the node shown in extra pane.
This happens in Commerce Kickstart installation but I think it will also happen in any Commerce installation.
The error comes from
commerce_extra_panes_checkout_form.tpl.php where following code is used to hide comment link
hide($elements['links']['comment']);
print render($elements);
But $elements is an array with the following structure:
Array
(
[node] => Array
(
[7] => Array
(
[body] => Array
(
[#theme] => field
[#weight] => 0
[#title] => Body
****
So, the comment link is referenced incorrectly in
hide($elements['links']['comment']);
and from commerce_extra_panes_review.tpl.php where no code to hide comment link found.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedsame issue
Comment #2
iub98 CreditAttribution: iub98 commentedSame issue. Any idea on how to fix? Scratching my head. I've tried css but can quite get it.
Comment #3
VSZ CreditAttribution: VSZ commentedI modified commerce_extra_panes_checkout_form.tpl.php and it looks like this
And commerce_extra_panes_review.tpl.php
Comment #4
iub98 CreditAttribution: iub98 commentedThat works perfectly. Thank you so much VSZ!
Comment #5
pcambra@VSZ would you consider to post a patch for that change?