INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x70cm', 'ACRO 30 MC', 'publish', 'closed', 'open', 'ACRO-30-MC', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-30-MC', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '239€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '0'), (@last_id, 'tcp_sku', 'ACRO-30-MC'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ACRO-30-MC'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x70cm', 'ACRO 66MC', 'publish', 'closed', 'open', 'ACRO-66MC', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-66MC', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '369€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '1'), (@last_id, 'tcp_sku', 'ACRO-66MC'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ACRO-66MC'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '49x117x60cm Diferentes posiciones y alturas', 'ACRO YF 08', 'publish', 'closed', 'open', 'ACRO-YF-08', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-YF-08', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '309€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '2'), (@last_id, 'tcp_sku', 'ACRO-YF-08'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ACRO-YF-08'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x80cm', 'ACRO YF 17', 'publish', 'closed', 'open', 'ACRO-YF-17', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-YF-17', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '279€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '3'), (@last_id, 'tcp_sku', 'ACRO-YF-17'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ACRO-YF-17'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x75cm', 'ACRO YF13', 'publish', 'closed', 'open', 'ACRO-YF13', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-YF13', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '229€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '4'), (@last_id, 'tcp_sku', 'ACRO-YF13'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ACRO-YF13'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '44x112x67cm', 'ARI 105009', 'publish', 'closed', 'open', 'ARI-105009', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARI-105009', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '457€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '5'), (@last_id, 'tcp_sku', 'ARI-105009'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ARI-105009'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x122x76cm', 'ARI 112346', 'publish', 'closed', 'open', 'ARI-112346', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARI-112346', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '539€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '6'), (@last_id, 'tcp_sku', 'ARI-112346'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ARI-112346'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '34x115x115cm', 'ARI 112396', 'publish', 'closed', 'open', 'ARI-112396', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARI-112396', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '487€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '7'), (@last_id, 'tcp_sku', 'ARI-112396'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ARI-112396'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '50x120x90cm', 'ARTI 7990', 'publish', 'closed', 'open', 'ARTI-7990', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-7990', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '497€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '8'), (@last_id, 'tcp_sku', 'ARTI-7990'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ARTI-7990'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x120x90cm', 'ARTI 8506', 'publish', 'closed', 'open', 'ARTI-8506', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-8506', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '497€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '9'), (@last_id, 'tcp_sku', 'ARTI-8506'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ARTI-8506'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '35x120x70cm', 'ARTI 8717', 'publish', 'closed', 'open', 'ARTI-8717', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-8717', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '429€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '10'), (@last_id, 'tcp_sku', 'ARTI-8717'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'ARTI-8717'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x120x70cm TAMBIEN EN COLOR CLARO', 'CAC 541-001268', 'publish', 'closed', 'open', 'CAC-541-001268', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-541-001268', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '417€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '11'), (@last_id, 'tcp_sku', 'CAC-541-001268'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'CAC-541-001268'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x115x60cm', 'CAC 553-0046026', 'publish', 'closed', 'open', 'CAC-553-0046026', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-553-0046026', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '239€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '12'), (@last_id, 'tcp_sku', 'CAC-553-0046026'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'CAC-553-0046026'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45(68)x115x60cm ELEVABLE', 'CAC 564-004519', 'publish', 'closed', 'open', 'CAC-564-004519', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-564-004519', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '279€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '13'), (@last_id, 'tcp_sku', 'CAC-564-004519'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'CAC-564-004519'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '38x110x60cm', 'CAC 611-004046', 'publish', 'closed', 'open', 'CAC-611-004046', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-611-004046', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '274€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '14'), (@last_id, 'tcp_sku', 'CAC-611-004046'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'CAC-611-004046'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '30x90cm', 'DUG 1 CT-23', 'publish', 'closed', 'open', 'DUG-1-CT-23', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-1-CT-23', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '697€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '15'), (@last_id, 'tcp_sku', 'DUG-1-CT-23'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'DUG-1-CT-23'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x60cm', 'IMO 35-128', 'publish', 'closed', 'open', 'IMO-35-128', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-35-128', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '327€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '16'), (@last_id, 'tcp_sku', 'IMO-35-128'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IMO-35-128'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x80x80cm NACAR', 'IMO 44-206', 'publish', 'closed', 'open', 'IMO-44-206', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-44-206', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '367€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '17'), (@last_id, 'tcp_sku', 'IMO-44-206'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IMO-44-206'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x60cm', 'IMO 75-04', 'publish', 'closed', 'open', 'IMO-75-04', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-75-04', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '398€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '18'), (@last_id, 'tcp_sku', 'IMO-75-04'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IMO-75-04'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x60cm', 'IMO 75-38', 'publish', 'closed', 'open', 'IMO-75-38', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-75-38', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '354€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '19'), (@last_id, 'tcp_sku', 'IMO-75-38'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IMO-75-38'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '50x133x73cm', 'IMO 7913', 'publish', 'closed', 'open', 'IMO-7913', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-7913', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '379€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '20'), (@last_id, 'tcp_sku', 'IMO-7913'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IMO-7913'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '32x130x70cm', 'IXI 16280', 'publish', 'closed', 'open', 'IXI-16280', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16280', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '257€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '21'), (@last_id, 'tcp_sku', 'IXI-16280'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IXI-16280'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '38x120x65cm Cristal acido templado 10mm', 'IXI 16064', 'publish', 'closed', 'open', 'IXI-16064', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16064', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '287€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '22'), (@last_id, 'tcp_sku', 'IXI-16064'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IXI-16064'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '44x120x70cm Mdf y cristal templado 10mm', 'IXI 16069', 'publish', 'closed', 'open', 'IXI-16069', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16069', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '287€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '23'), (@last_id, 'tcp_sku', 'IXI-16069'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IXI-16069'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x130x70cm Mdf y cristal templado 10mm', 'IXI 16070', 'publish', 'closed', 'open', 'IXI-16070', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16070', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '287€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '24'), (@last_id, 'tcp_sku', 'IXI-16070'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IXI-16070'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x65cm', 'IXI 7601900', 'publish', 'closed', 'open', 'IXI-7601900', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-7601900', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '297€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '25'), (@last_id, 'tcp_sku', 'IXI-7601900'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'IXI-7601900'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '48x115x70cm', 'MIR 0450', 'publish', 'closed', 'open', 'MIR-0450', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-0450', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '329€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '26'), (@last_id, 'tcp_sku', 'MIR-0450'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MIR-0450'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '48x115x70cm', 'MIR-0420', 'publish', 'closed', 'open', 'MIR-0420', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-0420', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '367€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '27'), (@last_id, 'tcp_sku', 'MIR-0420'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MIR-0420'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x50cm', 'MOY 142048J', 'publish', 'closed', 'open', 'MOY-142048J', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-142048J', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '389€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '28'), (@last_id, 'tcp_sku', 'MOY-142048J'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-142048J'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '47x80x80cm', 'MOY 142052', 'publish', 'closed', 'open', 'MOY-142052', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-142052', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '317€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '29'), (@last_id, 'tcp_sku', 'MOY-142052'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-142052'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '47x120x65cm', 'MOY 142053', 'publish', 'closed', 'open', 'MOY-142053', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-142053', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '339€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '30'), (@last_id, 'tcp_sku', 'MOY-142053'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-142053'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x120x60cm', 'MOY 301516', 'publish', 'closed', 'open', 'MOY-301516', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-301516', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '397€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '31'), (@last_id, 'tcp_sku', 'MOY-301516'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-301516'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x120x60cm', 'MOY 30267', 'publish', 'closed', 'open', 'MOY-30267', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30267', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '339€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '32'), (@last_id, 'tcp_sku', 'MOY-30267'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-30267'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x100x55cm', 'MOY 302672', 'publish', 'closed', 'open', 'MOY-302672', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-302672', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '279€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '33'), (@last_id, 'tcp_sku', 'MOY-302672'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-302672'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '46(66)x110x56cm', 'MOY 30318', 'publish', 'closed', 'open', 'MOY-30318', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30318', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '439€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '34'), (@last_id, 'tcp_sku', 'MOY-30318'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-30318'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x120x60cm', 'MOY 30931', 'publish', 'closed', 'open', 'MOY-30931', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30931', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '367€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '35'), (@last_id, 'tcp_sku', 'MOY-30931'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-30931'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x100x100cm', 'MOY 8600110', 'publish', 'closed', 'open', 'MOY-8600110', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-8600110', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '329€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '36'), (@last_id, 'tcp_sku', 'MOY-8600110'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-8600110'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x125x70cm', 'MOY 8600112', 'publish', 'closed', 'open', 'MOY-8600112', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-8600112', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '317€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '37'), (@last_id, 'tcp_sku', 'MOY-8600112'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'MOY-8600112'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x90x90cm VARIAS MEDIDAS', 'OM 1014', 'publish', 'closed', 'open', 'OM-1014', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1014', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '297€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '38'), (@last_id, 'tcp_sku', 'OM-1014'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-1014'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '30x120x60cm VARIAS MEDIDAS', 'OM 1226A', 'publish', 'closed', 'open', 'OM-1226A', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1226A', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '275€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '39'), (@last_id, 'tcp_sku', 'OM-1226A'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-1226A'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x90x90cm VARIAS MEDIDAS', 'OM 514', 'publish', 'closed', 'open', 'OM-514', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-514', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '367€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '40'), (@last_id, 'tcp_sku', 'OM-514'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-514'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x100cm VARIAS MEDIDAS', 'OM 705', 'publish', 'closed', 'open', 'OM-705', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-705', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '329€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '41'), (@last_id, 'tcp_sku', 'OM-705'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-705'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x90x90cm VARIAS MEDIDAS', 'OM-1147', 'publish', 'closed', 'open', 'OM-1147', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1147', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '319€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '42'), (@last_id, 'tcp_sku', 'OM-1147'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-1147'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x120x60cm VARIAS MEDIDAS', 'OM-1154', 'publish', 'closed', 'open', 'OM-1154', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1154', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '289€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '43'), (@last_id, 'tcp_sku', 'OM-1154'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-1154'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x100cm', 'OM-1192', 'publish', 'closed', 'open', 'OM-1192', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1192', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '429€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '44'), (@last_id, 'tcp_sku', 'OM-1192'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-1192'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x120x75cm', 'OM-1193', 'publish', 'closed', 'open', 'OM-1193', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1193', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '464€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '45'), (@last_id, 'tcp_sku', 'OM-1193'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-1193'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x60cm VARIAS MEDIDAS', 'OM-715', 'publish', 'closed', 'open', 'OM-715', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-715', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '339€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '46'), (@last_id, 'tcp_sku', 'OM-715'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-715'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x100x100cm', 'OM-G-2243', 'publish', 'closed', 'open', 'OM-G-2243', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-G-2243', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '648€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '47'), (@last_id, 'tcp_sku', 'OM-G-2243'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'OM-G-2243'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x70cm', 'PORT 1164-4401', 'publish', 'closed', 'open', 'PORT-1164-4401', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=PORT-1164-4401', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '397€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '48'), (@last_id, 'tcp_sku', 'PORT-1164-4401'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'PORT-1164-4401'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '48x120x60cm', 'PORT 1321-1501', 'publish', 'closed', 'open', 'PORT-1321-1501', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=PORT-1321-1501', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '289€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '49'), (@last_id, 'tcp_sku', 'PORT-1321-1501'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'PORT-1321-1501'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x90cm', 'SI 1 022618309B', 'publish', 'closed', 'open', 'SI-1-022618309B', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-1-022618309B', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '347€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '50'), (@last_id, 'tcp_sku', 'SI-1-022618309B'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SI-1-022618309B'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '42x130x90cm', 'SI 2 022047209B', 'publish', 'closed', 'open', 'SI-2-022047209B', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-2-022047209B', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '297€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '51'), (@last_id, 'tcp_sku', 'SI-2-022047209B'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SI-2-022047209B'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '38x120x50cm', 'SI 3 022661409B', 'publish', 'closed', 'open', 'SI-3-022661409B', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-3-022661409B', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '479€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '52'), (@last_id, 'tcp_sku', 'SI-3-022661409B'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SI-3-022661409B'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x100x70cm', 'SOC-10305', 'publish', 'closed', 'open', 'SOC-10305', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SOC-10305', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '287€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '53'), (@last_id, 'tcp_sku', 'SOC-10305'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SOC-10305'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '43x130x80cm', 'SOC-69315', 'publish', 'closed', 'open', 'SOC-69315', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SOC-69315', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '367€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '54'), (@last_id, 'tcp_sku', 'SOC-69315'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SOC-69315'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x90x90cm conjunto', 'SP 30201', 'publish', 'closed', 'open', 'SP-30201', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30201', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '378€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '55'), (@last_id, 'tcp_sku', 'SP-30201'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-30201'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x90x90cm', 'SP 30216', 'publish', 'closed', 'open', 'SP-30216', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30216', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '297€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '56'), (@last_id, 'tcp_sku', 'SP-30216'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-30216'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x60cm', 'SP 30600', 'publish', 'closed', 'open', 'SP-30600', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30600', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '297€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '57'), (@last_id, 'tcp_sku', 'SP-30600'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-30600'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x110x60cm', 'SP 31449', 'publish', 'closed', 'open', 'SP-31449', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31449', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '347€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '58'), (@last_id, 'tcp_sku', 'SP-31449'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31449'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x90x90cm', 'SP 31484', 'publish', 'closed', 'open', 'SP-31484', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31484', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '387€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '59'), (@last_id, 'tcp_sku', 'SP-31484'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31484'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '30x120x60cm', 'SP 31557', 'publish', 'closed', 'open', 'SP-31557', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31557', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '279€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '60'), (@last_id, 'tcp_sku', 'SP-31557'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31557'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '30x90x90cm', 'SP 31561', 'publish', 'closed', 'open', 'SP-31561', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31561', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '527€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '61'), (@last_id, 'tcp_sku', 'SP-31561'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31561'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '35x160cm', 'SP 31563', 'publish', 'closed', 'open', 'SP-31563', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31563', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '539€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '62'), (@last_id, 'tcp_sku', 'SP-31563'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31563'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x60cm', 'SP 31631', 'publish', 'closed', 'open', 'SP-31631', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31631', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '457€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '63'), (@last_id, 'tcp_sku', 'SP-31631'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31631'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '50x110x60cm conjunto', 'SP 9735', 'publish', 'closed', 'open', 'SP-9735', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-9735', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '427€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '64'), (@last_id, 'tcp_sku', 'SP-9735'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-9735'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '44x100x100cm', 'VA 1284', 'publish', 'closed', 'open', 'VA-1284', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-1284', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '397€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '65'), (@last_id, 'tcp_sku', 'VA-1284'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-1284'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x100x100cm', 'VA 1287 con cristal', 'publish', 'closed', 'open', 'VA-1287-CON-CRISTAL', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-1287-CON-CRISTAL', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '397€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '66'), (@last_id, 'tcp_sku', 'VA-1287-CON-CRISTAL'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-1287-CON-CRISTAL'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '46x130x70cm', 'VA 2031 con cristal', 'publish', 'closed', 'open', 'VA-2031-CON-CRISTAL', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-2031-CON-CRISTAL', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '439€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '67'), (@last_id, 'tcp_sku', 'VA-2031-CON-CRISTAL'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-2031-CON-CRISTAL'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '30x130x70cm', 'VA 2034 con cristal', 'publish', 'closed', 'open', 'VA-2034-CON-CRISTAL', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-2034-CON-CRISTAL', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '369€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '68'), (@last_id, 'tcp_sku', 'VA-2034-CON-CRISTAL'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-2034-CON-CRISTAL'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '35x100x100cm', 'VA 3153', 'publish', 'closed', 'open', 'VA-3153', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-3153', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '467€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '69'), (@last_id, 'tcp_sku', 'VA-3153'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-3153'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '46x109x58cm', 'VA-1334', 'publish', 'closed', 'open', 'VA-1334', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-1334', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '497€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '70'), (@last_id, 'tcp_sku', 'VA-1334'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-1334'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x65cm', 'VA-8291', 'publish', 'closed', 'open', 'VA-8291', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-8291', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '369€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '71'), (@last_id, 'tcp_sku', 'VA-8291'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-8291'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x65cm', 'VA-8310', 'publish', 'closed', 'open', 'VA-8310', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-8310', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '359€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '72'), (@last_id, 'tcp_sku', 'VA-8310'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VA-8310'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x65cm', 'VIC 13680', 'publish', 'closed', 'open', 'VIC-13680', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-13680', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '319€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '73'), (@last_id, 'tcp_sku', 'VIC-13680'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VIC-13680'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '46x120x45cm', 'VIC 15476', 'publish', 'closed', 'open', 'VIC-15476', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-15476', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '239€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '74'), (@last_id, 'tcp_sku', 'VIC-15476'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VIC-15476'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '40x110x60cm Madera con aluminio repujado', 'VIC 16044', 'publish', 'closed', 'open', 'VIC-16044', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-16044', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '319€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '75'), (@last_id, 'tcp_sku', 'VIC-16044'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VIC-16044'; INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES (1, now(), now(), '45x110x70cm Madera y metal pulido', 'VIC 16452', 'publish', 'closed', 'open', 'VIC-16452', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-16452', 0, 'tcp_product', 0); SET @last_id := LAST_INSERT_ID(); INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES (@last_id, 57, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '449€'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '76'), (@last_id, 'tcp_sku', 'VIC-16452'); insert into wp_postmeta (post_id, meta_key, meta_value) SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'VIC-16452';