More formatting

Identical to Woo files.
This commit is contained in:
Unknown 2018-03-22 14:00:10 -06:00 committed by zachary
parent 025222ac18
commit 4fd0028cc6
1 changed files with 6 additions and 7 deletions

View File

@ -67,13 +67,12 @@ do_action( 'woocommerce_before_cart' ); ?>
<td class="product-thumbnail"><?php <td class="product-thumbnail"><?php
$thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key ); $thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key );
if ( ! $product_permalink ) { if ( ! $product_permalink ) {
echo $thumbnail; echo $thumbnail;
} else { } else {
printf( '<a href="%s">%s</a>', esc_url( $product_permalink ), $thumbnail ); printf( '<a href="%s">%s</a>', esc_url( $product_permalink ), $thumbnail );
} }
?> ?></td>
</td>
<td class="product-name" data-title="<?php esc_attr_e( 'Product', 'understrap' ); ?>"> <td class="product-name" data-title="<?php esc_attr_e( 'Product', 'understrap' ); ?>">
<?php <?php