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(), '', 'MIR COMPOSICION 1', 'publish', 'closed', 'open', 'MIR-COMPOSICION-1', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-1', 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, 47, 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', '0'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-1'), (@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` = 'MIR-COMPOSICION-1'; 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(), '', 'MIR COMPOSICION 2', 'publish', 'closed', 'open', 'MIR-COMPOSICION-2', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-2', 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, 47, 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', '1'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-2'), (@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` = 'MIR-COMPOSICION-2'; 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(), '', 'MIR COMPOSICION 3', 'publish', 'closed', 'open', 'MIR-COMPOSICION-3', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-3', 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, 47, 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', 'MIR-COMPOSICION-3'), (@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` = 'MIR-COMPOSICION-3'; 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(), '', 'MIR COMPOSICION 4', 'publish', 'closed', 'open', 'MIR-COMPOSICION-4', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-4', 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, 47, 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', 'MIR-COMPOSICION-4'), (@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` = 'MIR-COMPOSICION-4'; 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(), '', 'MIR COMPOSICION 5', 'publish', 'closed', 'open', 'MIR-COMPOSICION-5', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-5', 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, 47, 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', 'MIR-COMPOSICION-5'), (@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` = 'MIR-COMPOSICION-5'; 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(), '', 'MIR COMPOSICION 19', 'publish', 'closed', 'open', 'MIR-COMPOSICION-19', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-19', 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, 47, 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', 'MIR-COMPOSICION-19'), (@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` = 'MIR-COMPOSICION-19'; 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(), '', 'MIR COMPOSICION 20', 'publish', 'closed', 'open', 'MIR-COMPOSICION-20', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-20', 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, 47, 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', 'MIR-COMPOSICION-20'), (@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` = 'MIR-COMPOSICION-20'; 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(), '', 'MIR COMPOSICION 21', 'publish', 'closed', 'open', 'MIR-COMPOSICION-21', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-21', 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, 47, 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', 'MIR-COMPOSICION-21'), (@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` = 'MIR-COMPOSICION-21'; 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(), '', 'MIR COMPOSICION 22', 'publish', 'closed', 'open', 'MIR-COMPOSICION-22', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-22', 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, 47, 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', 'MIR-COMPOSICION-22'), (@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` = 'MIR-COMPOSICION-22'; 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(), '', 'MIR COMPOSICION 23', 'publish', 'closed', 'open', 'MIR-COMPOSICION-23', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-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, 47, 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', '9'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-23'), (@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` = 'MIR-COMPOSICION-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(), '', 'MIR COMPOSICION 24', 'publish', 'closed', 'open', 'MIR-COMPOSICION-24', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-24', 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, 47, 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', '10'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-24'), (@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` = 'MIR-COMPOSICION-24'; 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(), '', 'MIR COMPOSICION 25', 'publish', 'closed', 'open', 'MIR-COMPOSICION-25', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-25', 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, 47, 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', '11'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-25'), (@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` = 'MIR-COMPOSICION-25'; 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(), '', 'MIR COMPOSICION 6', 'publish', 'closed', 'open', 'MIR-COMPOSICION-6', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-6', 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, 47, 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', '12'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-6'), (@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` = 'MIR-COMPOSICION-6'; 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(), '', 'MIR COMPOSICION 7', 'publish', 'closed', 'open', 'MIR-COMPOSICION-7', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-7', 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, 47, 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', '13'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-7'), (@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` = 'MIR-COMPOSICION-7'; 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(), '140x120x47cm', 'MIR-20500', 'publish', 'closed', 'open', 'MIR-20500', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-20500', 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, 47, 0); insert into wp_postmeta (post_id, meta_key, meta_value) values (@last_id, 'tcp_price', '639'), (@last_id, 'tcp_stock', -1), (@last_id, 'tcp_type', 'SIMPLE'), (@last_id, 'tcp_order', '14'), (@last_id, 'tcp_sku', 'MIR-20500'), (@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` = 'MIR-20500'; 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(), '120x140x42cm', 'MIR-20505', 'publish', 'closed', 'open', 'MIR-20505', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-20505', 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, 47, 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', '15'), (@last_id, 'tcp_sku', 'MIR-20505'), (@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` = 'MIR-20505'; 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(), '', 'MIR-COMPOSICION 10', 'publish', 'closed', 'open', 'MIR-COMPOSICION-10', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-10', 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, 47, 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', '16'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-10'), (@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` = 'MIR-COMPOSICION-10'; 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(), '', 'MIR-COMPOSICION 11', 'publish', 'closed', 'open', 'MIR-COMPOSICION-11', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-11', 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, 47, 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', '17'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-11'), (@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` = 'MIR-COMPOSICION-11'; 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(), '', 'MIR-COMPOSICION 12', 'publish', 'closed', 'open', 'MIR-COMPOSICION-12', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-12', 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, 47, 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', '18'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-12'), (@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` = 'MIR-COMPOSICION-12'; 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(), '', 'MIR-COMPOSICION 13', 'publish', 'closed', 'open', 'MIR-COMPOSICION-13', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-13', 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, 47, 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', '19'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-13'), (@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` = 'MIR-COMPOSICION-13'; 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(), '', 'MIR-COMPOSICION 14', 'publish', 'closed', 'open', 'MIR-COMPOSICION-14', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-14', 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, 47, 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', '20'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-14'), (@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` = 'MIR-COMPOSICION-14'; 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(), '', 'MIR-COMPOSICION 15', 'publish', 'closed', 'open', 'MIR-COMPOSICION-15', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-15', 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, 47, 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', '21'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-15'), (@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` = 'MIR-COMPOSICION-15'; 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(), '', 'MIR-COMPOSICION 16', 'publish', 'closed', 'open', 'MIR-COMPOSICION-16', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-16', 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, 47, 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', '22'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-16'), (@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` = 'MIR-COMPOSICION-16'; 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(), '', 'MIR-COMPOSICION 17', 'publish', 'closed', 'open', 'MIR-COMPOSICION-17', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-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, 47, 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', '23'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-17'), (@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` = 'MIR-COMPOSICION-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(), '', 'MIR-COMPOSICION 18', 'publish', 'closed', 'open', 'MIR-COMPOSICION-18', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-18', 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, 47, 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', '24'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-18'), (@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` = 'MIR-COMPOSICION-18'; 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(), '', 'MIR-COMPOSICION 8', 'publish', 'closed', 'open', 'MIR-COMPOSICION-8', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-8', 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, 47, 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', '25'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-8'), (@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` = 'MIR-COMPOSICION-8'; 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(), '', 'MIR-COMPOSICION 9', 'publish', 'closed', 'open', 'MIR-COMPOSICION-9', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MIR-COMPOSICION-9', 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, 47, 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', '26'), (@last_id, 'tcp_sku', 'MIR-COMPOSICION-9'), (@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` = 'MIR-COMPOSICION-9';