there are two selects first we select _product_image_gallery and _thumbnail_id that contains the id of image after that we search for post_id = searched id then i think if you look at images you understand it ?
meta_value
the _thumbnail_id relates to featured image that is unique but gallery images all are at _product_image_gallery seprated with comma
Обсуждают сегодня