Get url of product’s images (woocommerce)
What happen when a post (product) didnt have a guid,because it has the same image with another product ? For example: Query1: select guid from wp_posts where post_type=”attachment” and post_parent=num Returns nothing. Query2: select guid from wp_posts where ID=num Returns the url of product. In this case how should i find the image url of … Read more