The exclusive agent for Salem Balhamer Holding Group factories
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14]SELECT ID FROM wp_posts as p
INNER JOIN wp_postmeta pm
on p.ID = pm.post_id
and pm.meta_key='_stock_status'
AND pm.meta_value = 'instock'
AND p.post_status = 'publish'
AND p.post_type = 'product'
AND p.ID NOT IN ( SELECT tr.object_id
FROM wp_terms as t
JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id
JOIN wp_term_relationships AS tr ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE t.name = 'exclude-from-catalog')
AND p.ID IN ( SELECT pl.element_id FROM wp_icl_translations
WHERE pl.language_code = 'en'
AND p.ID IN (6946,6947)
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14]SELECT ID FROM wp_posts as p
INNER JOIN wp_postmeta pm
on p.ID = pm.post_id
and pm.meta_key='_stock_status'
AND pm.meta_value = 'outofstock'
AND p.post_status = 'publish'
AND p.post_type = 'product'
AND p.ID NOT IN ( SELECT tr.object_id
FROM wp_terms as t
JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id
JOIN wp_term_relationships AS tr ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE t.name = 'exclude-from-catalog')
AND p.ID IN ( SELECT pl.element_id FROM wp_icl_translations
WHERE pl.language_code = 'en'
AND p.ID IN (6946,6947)
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14]SELECT ID FROM wp_posts as p
INNER JOIN wp_postmeta pm
on p.ID = pm.post_id
and pm.meta_key='_stock_status'
AND pm.meta_value = 'instock'
AND p.post_status = 'publish'
AND p.post_type = 'product'
AND p.ID NOT IN ( SELECT tr.object_id
FROM wp_terms as t
JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id
JOIN wp_term_relationships AS tr ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE t.name = 'exclude-from-catalog')
AND p.ID IN ( SELECT pl.element_id FROM wp_icl_translations
WHERE pl.language_code = 'en'
AND p.ID IN (6946,6947)
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 14]SELECT ID FROM wp_posts as p
INNER JOIN wp_postmeta pm
on p.ID = pm.post_id
and pm.meta_key='_stock_status'
AND pm.meta_value = 'outofstock'
AND p.post_status = 'publish'
AND p.post_type = 'product'
AND p.ID NOT IN ( SELECT tr.object_id
FROM wp_terms as t
JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id
JOIN wp_term_relationships AS tr ON tt.term_taxonomy_id = tr.term_taxonomy_id WHERE t.name = 'exclude-from-catalog')
AND p.ID IN ( SELECT pl.element_id FROM wp_icl_translations
WHERE pl.language_code = 'en'
AND p.ID IN (6946,6947)