Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wc get product image

<?php global $product; ?>
<img src="<?php echo wp_get_attachment_url( $product->get_image_id() ); ?>" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wc #product #image
ADD COMMENT
Topic
Name
5+1 =