echo $product->get_image(‘woocommerce_single’ ); problem

Question

when i echo $product->get_image(‘woocommerce_single’ );
why i get all this output in the html?

"<img width="620" height="400" src="<img width="300" height="300" src="https://www.wptricks.com/wp-content/uploads/2020/07/56-1-300x300-1.jpg" class="attachment-woocommerce_thumbnail size-woocommerce_thumbnail" alt="" srcset="https://www.wptricks.com/wp-content/uploads/2020/07/56-1-300x300-1.jpg 300w, https://www.wptricks.com/wp-content/uploads/2020/07/56-1-90x90-1.jpg 90w, https://moccaso.com/wp-content/uploads/56-1-48x48.jpg 48w, https://www.wptricks.com/wp-content/uploads/2020/07/56-1-100x100-1.jpg 100w" sizes="(max-width: 300px) 100vw, 300px" />"

0
, Gil 1 year 2020-07-22T11:10:32-05:00 0 Answers 50 views 0

Leave an answer

Browse
Browse