Заказать обратный звонок


Мы перезвоним вам в течении рабочего дня

SELECT wp_posts.* FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND ( wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (11) ) AND wp_term_relationships.term_taxonomy_id IN (21,267,351,355,359,367,374,442,476,266,265,260,112,113,114,115,116,233,258,259,489) ) AND wp_posts.post_type = 'product' AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'acf-disabled') GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order, wp_posts.menu_order ASC, wp_posts.post_title ASC