parent
025222ac18
commit
4fd0028cc6
|
@ -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
|
||||||
|
|
Reference in New Issue