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(), '75x195x80(160)cm Sofá-cama desmontable izq-dcha mesa piel', 'IMO 29-900', 'publish', 'closed', 'open', 'IMO-29-900', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-29-900', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '679'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '0'), (@last_id, 'tcp_sku', 'IMO-29-900'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-29-900'; 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 Sofá-cama', 'IMO 29-903', 'publish', 'closed', 'open', 'IMO-29-903', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-29-903', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '197'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '1'), (@last_id, 'tcp_sku', 'IMO-29-903'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-29-903'; 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(), ' Sofá-cama', 'moraBERLIN', 'publish', 'closed', 'open', 'MORABERLIN', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORABERLIN', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '2'), (@last_id, 'tcp_sku', 'MORABERLIN'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORABERLIN'; 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(), ' Sofá-cama', 'morabogart', 'publish', 'closed', 'open', 'MORABOGART', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORABOGART', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '3'), (@last_id, 'tcp_sku', 'MORABOGART'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORABOGART'; 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(), ' Sofá-cama', 'moracometa', 'publish', 'closed', 'open', 'MORACOMETA', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORACOMETA', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '4'), (@last_id, 'tcp_sku', 'MORACOMETA'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORACOMETA'; 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(), ' Sofá-cama', 'moraPARIS', 'publish', 'closed', 'open', 'MORAPARIS', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORAPARIS', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '5'), (@last_id, 'tcp_sku', 'MORAPARIS'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORAPARIS'; 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(), ' Sofá-cama', 'moraPARIS', 'publish', 'closed', 'open', 'MORAPARIS', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORAPARIS', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '6'), (@last_id, 'tcp_sku', 'MORAPARIS'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORAPARIS'; 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(), ' Sofá-cama', 'moraPRAGA', 'publish', 'closed', 'open', 'MORAPRAGA', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORAPRAGA', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '7'), (@last_id, 'tcp_sku', 'MORAPRAGA'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORAPRAGA'; 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(), ' Sofá-cama', 'moraPRAGA', 'publish', 'closed', 'open', 'MORAPRAGA', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MORAPRAGA', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', ''), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '8'), (@last_id, 'tcp_sku', 'MORAPRAGA'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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` = 'MORAPRAGA'; 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(), '87x193x90cm Sofá-cama', 'SP 30722', 'publish', 'closed', 'open', 'SP-30722', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30722', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '579'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '9'), (@last_id, 'tcp_sku', 'SP-30722'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-30722'; 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(), '87x193x90cm Sofá-cama', 'SP 30724', 'publish', 'closed', 'open', 'SP-30724', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30724', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '579'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '10'), (@last_id, 'tcp_sku', 'SP-30724'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-30724'; 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(), '90x188x88cm Sofá-cama', 'SP 30726', 'publish', 'closed', 'open', 'SP-30726', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30726', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '579'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '11'), (@last_id, 'tcp_sku', 'SP-30726'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-30726'; 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(), '88x194x96cm Sofá-cama', 'SP 30731', 'publish', 'closed', 'open', 'SP-30731', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30731', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '579'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '12'), (@last_id, 'tcp_sku', 'SP-30731'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-30731'; 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(), '83x200x120cm Sofá-cama', 'SP 31695', 'publish', 'closed', 'open', 'SP-31695', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31695', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '1079'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '13'), (@last_id, 'tcp_sku', 'SP-31695'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31695'; 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(), '83x200x120cm Sofá-cama', 'SP 31696', 'publish', 'closed', 'open', 'SP-31696', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31696', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '1079'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '14'), (@last_id, 'tcp_sku', 'SP-31696'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31696'; 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(), '83x200x120cm Sofá-cama', 'SP 31697', 'publish', 'closed', 'open', 'SP-31697', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31697', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '1079'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '15'), (@last_id, 'tcp_sku', 'SP-31697'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31697'; 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(), '76x92(196)x85cm Sofá-cama', 'SP 31701', 'publish', 'closed', 'open', 'SP-31701', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31701', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '637'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '16'), (@last_id, 'tcp_sku', 'SP-31701'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31701'; 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(), '200x117cm Sofá-cama', 'SP 31751', 'publish', 'closed', 'open', 'SP-31751', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31751', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '1049'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '17'), (@last_id, 'tcp_sku', 'SP-31751'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31751'; 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(), '200x117cm Sofá-cama', 'SP 31752', 'publish', 'closed', 'open', 'SP-31752', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31752', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '1049'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '18'), (@last_id, 'tcp_sku', 'SP-31752'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31752'; 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(), '200x117cm Sofá-cama', 'SP 31753', 'publish', 'closed', 'open', 'SP-31753', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31753', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '1049'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '19'), (@last_id, 'tcp_sku', 'SP-31753'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31753'; 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(), '200x113cm Sofá-cama', 'SP 31755', 'publish', 'closed', 'open', 'SP-31755', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31755', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '897'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '20'), (@last_id, 'tcp_sku', 'SP-31755'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-31755'; 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(), '76x92(196)x85cm Sofá-cama', 'SP 32111', 'publish', 'closed', 'open', 'SP-32111', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-32111', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '637'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '21'), (@last_id, 'tcp_sku', 'SP-32111'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-32111'; 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(), '76x92(196)x85cm Sofá-cama', 'SP 32112', 'publish', 'closed', 'open', 'SP-32112', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-32112', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '637'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '22'), (@last_id, 'tcp_sku', 'SP-32112'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-32112'; 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(), '78x178x80(108)cm Sofá-cama polipiel', 'VIC 15769', 'publish', 'closed', 'open', 'VIC-15769', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-15769', 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, 51, 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', '23'), (@last_id, 'tcp_sku', 'VIC-15769'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-15769'; 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(), '78x178x80(108)cm Sofá-cama polipiel', 'VIC 15770', 'publish', 'closed', 'open', 'VIC-15770', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-15770', 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, 51, 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', '24'), (@last_id, 'tcp_sku', 'VIC-15770'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-15770'; 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(), '78x180x80(108)cm Sofá-cama polipiel patas plástico', 'VIC SOFACAMA', 'publish', 'closed', 'open', 'VIC-SOFACAMA', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-SOFACAMA', 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, 51, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '437'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '25'), (@last_id, 'tcp_sku', 'VIC-SOFACAMA'), (@last_id, 'tcp_tax_id', '0'), (@last_id, 'tcp_back_end_label', ''), (@last_id, 'tcp_hide_buy_button', ''), (@last_id, 'tcp_exclude_range', ''), (@last_id, 'tcp_is_downloadable', ''), (@last_id, 'tcp_max_downloads', '0'), (@last_id, 'tcp_days_to_expire', '0'), (@last_id, 'tcp_is_visible', '1'), (@last_id, 'tcp_weight', '0'); 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-SOFACAMA';