What happen when a post (product) didnt have a guid,because it has the same image with another product ?
select guid from wp_posts where post_type='attachment' and post_parent=num
select guid from wp_posts where ID=num
Returns the url of product.
In this case how should i find the image url of that product?