fixed hardcode string in email-order-items.php template

This commit is contained in:
claudiosmweb 2014-02-13 02:08:47 -02:00 committed by Coen Jacobs
parent 85e95dab16
commit 8da96382ec
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ foreach ( $items as $item ) :
// Show title/image etc
if ( $show_image )
echo apply_filters( 'woocommerce_order_item_thumbnail', '<img src="' . current( wp_get_attachment_image_src( get_post_thumbnail_id( $_product->id ), 'thumbnail') ) .'" alt="Product Image" height="' . esc_attr( $image_size[1] ) . '" width="' . esc_attr( $image_size[0] ) . '" style="vertical-align:middle; margin-right: 10px;" />', $item );
echo apply_filters( 'woocommerce_order_item_thumbnail', '<img src="' . current( wp_get_attachment_image_src( get_post_thumbnail_id( $_product->id ), 'thumbnail') ) .'" alt="' . __( 'Product Image', 'woocommerce' ) . '" height="' . esc_attr( $image_size[1] ) . '" width="' . esc_attr( $image_size[0] ) . '" style="vertical-align:middle; margin-right: 10px;" />', $item );
// Product name
echo apply_filters( 'woocommerce_order_item_name', $item['name'], $item );
@ -62,4 +62,4 @@ foreach ( $items as $item ) :
</tr>
<?php endif; ?>
<?php endforeach; ?>
<?php endforeach; ?>