I want to change the layout of the creditmemo productstable inside a creditmemo email. Inside the following file: /app/design/frontend/theme/theme/template/email/order/creditmemo/items.phtml

There I can only find the following code:

<?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
<tbody<?php echo $i%2 ? ' bgcolor="#FFFFFF"' : '' ?>>
<?php echo $this->getItemHtml($_item) ?>
<?php endforeach; ?>

But where can I find the <?php echo $this->getItemHtml($_item) ?> code, to change the layout?

Many thanks!


Generally this code <?php echo $this->getItemHtml($_item) ?> referce to this file.


You need to change into this according to your requirement.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.