This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
OriginalHouse_Web/información/Fotos muebles/salida-mesas-rincon.sql
david 5360f4d8ce Sofás-cama subidos
Repaso al resto

git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@52 54e8636e-a86c-764f-903d-b964358a1ae2
2011-07-19 15:33:17 +00:00

1033 lines
59 KiB
SQL

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(), '60x52x52cm', 'ARTI 1 7991', 'publish', 'closed', 'open', 'ARTI-1-7991', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-1-7991', 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, 58, 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', '0'),
(@last_id, 'tcp_sku', 'ARTI-1-7991'),
(@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` = 'ARTI-1-7991';
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(), '55x45x40cm', 'ARTI 2 301043', 'publish', 'closed', 'open', 'ARTI-2-301043', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-2-301043', 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, 58, 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', '1'),
(@last_id, 'tcp_sku', 'ARTI-2-301043'),
(@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` = 'ARTI-2-301043';
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(), '70x50x45cm', 'ARTI 3 8814', 'publish', 'closed', 'open', 'ARTI-3-8814', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-3-8814', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '217'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '2'),
(@last_id, 'tcp_sku', 'ARTI-3-8814'),
(@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` = 'ARTI-3-8814';
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(), '60x40x30cm', 'ARTI 4 301013', 'publish', 'closed', 'open', 'ARTI-4-301013', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-4-301013', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '174'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '3'),
(@last_id, 'tcp_sku', 'ARTI-4-301013'),
(@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` = 'ARTI-4-301013';
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(), '40x65x35cm', 'ARTI 5 301029', 'publish', 'closed', 'open', 'ARTI-5-301029', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-5-301029', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '124'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '4'),
(@last_id, 'tcp_sku', 'ARTI-5-301029'),
(@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` = 'ARTI-5-301029';
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(), '60x50x50cm', 'ARTI 6 8606', 'publish', 'closed', 'open', 'ARTI-6-8606', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-6-8606', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '227'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '5'),
(@last_id, 'tcp_sku', 'ARTI-6-8606'),
(@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` = 'ARTI-6-8606';
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(), '50x35x28cm', 'ARTI 7 301104', 'publish', 'closed', 'open', 'ARTI-7-301104', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-7-301104', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '159'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '6'),
(@last_id, 'tcp_sku', 'ARTI-7-301104'),
(@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` = 'ARTI-7-301104';
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(), '76x48x48cm', 'ARTI 8 7866', 'publish', 'closed', 'open', 'ARTI-8-7866', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-8-7866', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '349'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '7'),
(@last_id, 'tcp_sku', 'ARTI-8-7866'),
(@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` = 'ARTI-8-7866';
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(), '60x80x23cm', 'ARTI 9 8535', 'publish', 'closed', 'open', 'ARTI-9-8535', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-9-8535', 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, 58, 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', '8'),
(@last_id, 'tcp_sku', 'ARTI-9-8535'),
(@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` = 'ARTI-9-8535';
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(), '50x50x50cm', 'CAC 553-004603', 'publish', 'closed', 'open', 'CAC-553-004603', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-553-004603', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '149'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '9'),
(@last_id, 'tcp_sku', 'CAC-553-004603'),
(@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` = 'CAC-553-004603';
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(), '55x54cm', 'CAC 617-003717', 'publish', 'closed', 'open', 'CAC-617-003717', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-617-003717', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '227'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '10'),
(@last_id, 'tcp_sku', 'CAC-617-003717'),
(@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` = 'CAC-617-003717';
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(), '46x49cm', 'DUG CT-23A', 'publish', 'closed', 'open', 'DUG-CT-23A', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-CT-23A', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '549'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '11'),
(@last_id, 'tcp_sku', 'DUG-CT-23A'),
(@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` = 'DUG-CT-23A';
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(), '72x51cm', 'DUG-CT001', 'publish', 'closed', 'open', 'DUG-CT001', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-CT001', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '179'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '12'),
(@last_id, 'tcp_sku', 'DUG-CT001'),
(@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` = 'DUG-CT001';
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(), '55x65x65cm', 'IMO 1 35-61', 'publish', 'closed', 'open', 'IMO-1-35-61', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-1-35-61', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '249'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '13'),
(@last_id, 'tcp_sku', 'IMO-1-35-61'),
(@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-1-35-61';
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(), '55x65x65cm', 'IMO 2 35-64', 'publish', 'closed', 'open', 'IMO-2-35-64', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-2-35-64', 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, 58, 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', '14'),
(@last_id, 'tcp_sku', 'IMO-2-35-64'),
(@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-2-35-64';
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(), '46x60x60cm', 'IMO 3 35-102', 'publish', 'closed', 'open', 'IMO-3-35-102', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-3-35-102', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '249'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '15'),
(@last_id, 'tcp_sku', 'IMO-3-35-102'),
(@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-3-35-102';
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(), '50x54x50cm', 'IMO 4 35-04', 'publish', 'closed', 'open', 'IMO-4-35-04', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-4-35-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, 58, 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', '16'),
(@last_id, 'tcp_sku', 'IMO-4-35-04'),
(@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-4-35-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(), '51x51x35cm', 'IMO 5 35-72', 'publish', 'closed', 'open', 'IMO-5-35-72', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-5-35-72', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '249'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '17'),
(@last_id, 'tcp_sku', 'IMO-5-35-72'),
(@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-5-35-72';
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(), '50x55x55cm', 'IMO 6 35-108', 'publish', 'closed', 'open', 'IMO-6-35-108', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-6-35-108', 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, 58, 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', '18'),
(@last_id, 'tcp_sku', 'IMO-6-35-108'),
(@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-6-35-108';
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(), '57x50x50cm Tambien en negro', 'IMO 7 34-22', 'publish', 'closed', 'open', 'IMO-7-34-22', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-7-34-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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '259'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '19'),
(@last_id, 'tcp_sku', 'IMO-7-34-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` = 'IMO-7-34-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(), '45x60x60cm', 'IMO 8 75-37', 'publish', 'closed', 'open', 'IMO-8-75-37', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-8-75-37', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '219'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '20'),
(@last_id, 'tcp_sku', 'IMO-8-75-37'),
(@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-8-75-37';
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(), '60x50x50cm', 'IMO 9 75-36', 'publish', 'closed', 'open', 'IMO-9-75-36', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-9-75-36', 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, 58, 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', '21'),
(@last_id, 'tcp_sku', 'IMO-9-75-36'),
(@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-9-75-36';
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(), '52x55x35cm', 'LH MU-430-MESAS-NIDO-CRUCETA', 'publish', 'closed', 'open', 'LH-MU-430-MESAS-NIDO-CRUCETA', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=LH-MU-430-MESAS-NIDO-CRUCETA', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '187'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '22'),
(@last_id, 'tcp_sku', 'LH-MU-430-MESAS-NIDO-CRUCETA'),
(@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` = 'LH-MU-430-MESAS-NIDO-CRUCETA';
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(), '56x57x35cm', 'LH MU-647', 'publish', 'closed', 'open', 'LH-MU-647', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=LH-MU-647', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '237'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '23'),
(@last_id, 'tcp_sku', 'LH-MU-647'),
(@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` = 'LH-MU-647';
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(), '70x60cm', 'MOY 1 14145', 'publish', 'closed', 'open', 'MOY-1-14145', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-1-14145', 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, 58, 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', '24'),
(@last_id, 'tcp_sku', 'MOY-1-14145'),
(@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` = 'MOY-1-14145';
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(), '45x60x60cm', 'MOY 2 30315', 'publish', 'closed', 'open', 'MOY-2-30315', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-2-30315', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '219'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '25'),
(@last_id, 'tcp_sku', 'MOY-2-30315'),
(@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` = 'MOY-2-30315';
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(), '45x60x60cm', 'MOY 3 301517', 'publish', 'closed', 'open', 'MOY-3-301517', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-3-301517', 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, 58, 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', '26'),
(@last_id, 'tcp_sku', 'MOY-3-301517'),
(@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` = 'MOY-3-301517';
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(), '47x60x60cm', 'MOY 4 1420536', 'publish', 'closed', 'open', 'MOY-4-1420536', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-4-1420536', 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, 58, 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', '27'),
(@last_id, 'tcp_sku', 'MOY-4-1420536'),
(@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` = 'MOY-4-1420536';
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(), '40x60x60cm', 'MOY 5 8600160', 'publish', 'closed', 'open', 'MOY-5-8600160', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-5-8600160', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '219'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '28'),
(@last_id, 'tcp_sku', 'MOY-5-8600160'),
(@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` = 'MOY-5-8600160';
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(), '55x60x44cm', 'MOY 6 14118', 'publish', 'closed', 'open', 'MOY-6-14118', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-6-14118', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '269'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '29'),
(@last_id, 'tcp_sku', 'MOY-6-14118'),
(@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` = 'MOY-6-14118';
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(), '55x45x40cm', 'PORT 1 1412-602', 'publish', 'closed', 'open', 'PORT-1-1412-602', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=PORT-1-1412-602', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '179'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '30'),
(@last_id, 'tcp_sku', 'PORT-1-1412-602'),
(@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` = 'PORT-1-1412-602';
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(), '58x45x45cm', 'PORT-1664-58', 'publish', 'closed', 'open', 'PORT-1664-58', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=PORT-1664-58', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '179'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '31'),
(@last_id, 'tcp_sku', 'PORT-1664-58'),
(@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` = 'PORT-1664-58';
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(), '45x45x45cm BL NG', 'SI 023130209', 'publish', 'closed', 'open', 'SI-023130209', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-023130209', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '227'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '32'),
(@last_id, 'tcp_sku', 'SI-023130209'),
(@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` = 'SI-023130209';
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(), '50x43cm También 42x43 a 167€', 'SI 023131109', 'publish', 'closed', 'open', 'SI-023131109', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-023131109', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '179'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '33'),
(@last_id, 'tcp_sku', 'SI-023131109'),
(@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` = 'SI-023131109';
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(), '46x40cm También 53x57 a 199€ NAT BL NG', 'SI-023618247', 'publish', 'closed', 'open', 'SI-023618247', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-023618247', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '199'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '34'),
(@last_id, 'tcp_sku', 'SI-023618247'),
(@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` = 'SI-023618247';
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(), '40x50x50cm', 'SI-043004209', 'publish', 'closed', 'open', 'SI-043004209', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SI-043004209', 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, 58, 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', '35'),
(@last_id, 'tcp_sku', 'SI-043004209'),
(@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` = 'SI-043004209';
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(), '55x45x45cm', 'SP 30302', 'publish', 'closed', 'open', 'SP-30302', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30302', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '167'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '36'),
(@last_id, 'tcp_sku', 'SP-30302'),
(@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-30302';
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(), '40x60x60cm', 'SP 31450', 'publish', 'closed', 'open', 'SP-31450', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31450', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '259'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '37'),
(@last_id, 'tcp_sku', 'SP-31450'),
(@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-31450';
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(), '60x50x30cm', 'SP 9412', 'publish', 'closed', 'open', 'SP-9412', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-9412', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '179'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '38'),
(@last_id, 'tcp_sku', 'SP-9412'),
(@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-9412';
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(), '50x50x50cm', 'VA-2035', 'publish', 'closed', 'open', 'VA-2035', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-2035', 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, 58, 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', '39'),
(@last_id, 'tcp_sku', 'VA-2035'),
(@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` = 'VA-2035';
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(), '80x63x40cm', 'VA-3915', 'publish', 'closed', 'open', 'VA-3915', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-3915', 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, 58, 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', '40'),
(@last_id, 'tcp_sku', 'VA-3915'),
(@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` = 'VA-3915';
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(), '50x50x50cm', 'VA-8311', 'publish', 'closed', 'open', 'VA-8311', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-8311', 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, 58, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '149'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '41'),
(@last_id, 'tcp_sku', 'VA-8311'),
(@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` = 'VA-8311';
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(), '42x42x42cm', 'VIC 16281', 'publish', 'closed', 'open', 'VIC-16281', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-16281', 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, 58, 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', '42'),
(@last_id, 'tcp_sku', 'VIC-16281'),
(@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-16281';