Guest User

Untitled

a guest
Nov 20th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <th class="product-thumb"><?php _e( 'Image', 'woocommerce' ); ?></th>
  2.  
  3. <td class="product-thumb">
  4. <?php $thumb = get_the_post_thumbnail_url($item['product_id'], 'shop_catalog'); ?>
  5. <?php
  6. if(!empty($thumb)) {
  7. echo "<img src='{$thumb}'/>";
  8. }
  9. ?>
  10. </td>
Add Comment
Please, Sign In to add comment