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-camas-cabeceros.sql
david 8889d878e5 Cabeceros subidos
Cómodas subidas

git-svn-id: https://192.168.0.254/svn/Proyectos.OriginalHouse_Web/trunk@53 54e8636e-a86c-764f-903d-b964358a1ae2
2011-07-19 16:14:27 +00:00

1945 lines
110 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(), '150x160cm', 'ACRO IG03CAN', 'publish', 'closed', 'open', 'ACRO-IG03CAN', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-IG03CAN', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '487'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '0'),
(@last_id, 'tcp_sku', 'ACRO-IG03CAN'),
(@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` = 'ACRO-IG03CAN';
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(), '133x160cm', 'ACRO IG04CAN', 'publish', 'closed', 'open', 'ACRO-IG04CAN', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-IG04CAN', 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, 59, 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', '1'),
(@last_id, 'tcp_sku', 'ACRO-IG04CAN'),
(@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` = 'ACRO-IG04CAN';
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(), '150x160x3,5cm', 'ACRO-30-CA-2', 'publish', 'closed', 'open', 'ACRO-30-CA-2', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-30-CA-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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '329'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '2'),
(@last_id, 'tcp_sku', 'ACRO-30-CA-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` = 'ACRO-30-CA-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(), '124x160x7cm Tambien en marron', 'ACRO-BO-7-CA', 'publish', 'closed', 'open', 'ACRO-BO-7-CA', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ACRO-BO-7-CA', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '429'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '3'),
(@last_id, 'tcp_sku', 'ACRO-BO-7-CA'),
(@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` = 'ACRO-BO-7-CA';
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(), '105x105cm', 'ARTI 8617', 'publish', 'closed', 'open', 'ARTI-8617', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-8617', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '224'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '4'),
(@last_id, 'tcp_sku', 'ARTI-8617'),
(@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-8617';
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(), '105x105cm', 'ARTI 8783', 'publish', 'closed', 'open', 'ARTI-8783', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=ARTI-8783', 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, 59, 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-8783'),
(@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-8783';
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(), '120x160x11cm Tambien en blanco', 'CAC-433-001465', 'publish', 'closed', 'open', 'CAC-433-001465', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-433-001465', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '397'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '6'),
(@last_id, 'tcp_sku', 'CAC-433-001465'),
(@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-433-001465';
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(), '120x180x4cm Tambien en color claro', 'CAC-541-003293', 'publish', 'closed', 'open', 'CAC-541-003293', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-541-003293', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '467'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '7'),
(@last_id, 'tcp_sku', 'CAC-541-003293'),
(@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-541-003293';
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(), '110x240x5cm', 'CAC-599-003645', 'publish', 'closed', 'open', 'CAC-599-003645', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-599-003645', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '367'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '8'),
(@last_id, 'tcp_sku', 'CAC-599-003645'),
(@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-599-003645';
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(), '29x169x201cm', 'CAC-599-003646', 'publish', 'closed', 'open', 'CAC-599-003646', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=CAC-599-003646', 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, 59, 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', '9'),
(@last_id, 'tcp_sku', 'CAC-599-003646'),
(@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-599-003646';
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(), '120x166cm', 'DUG 01 B624', 'publish', 'closed', 'open', 'DUG-01-B624', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-01-B624', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '727'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '10'),
(@last_id, 'tcp_sku', 'DUG-01-B624'),
(@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-01-B624';
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(), '120x166x213cm', 'DUG B624', 'publish', 'closed', 'open', 'DUG-B624', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-B624', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1319'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '11'),
(@last_id, 'tcp_sku', 'DUG-B624'),
(@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-B624';
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(), '118x166cm', 'DUG 02 625', 'publish', 'closed', 'open', 'DUG-02-625', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-02-625', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '587'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '12'),
(@last_id, 'tcp_sku', 'DUG-02-625'),
(@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-02-625';
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(), '114x167cm', 'DUG 03 621', 'publish', 'closed', 'open', 'DUG-03-621', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-03-621', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '689'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '13'),
(@last_id, 'tcp_sku', 'DUG-03-621'),
(@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-03-621';
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(), '137x165cm', 'DUG 04 622', 'publish', 'closed', 'open', 'DUG-04-622', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-04-622', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '459'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '14'),
(@last_id, 'tcp_sku', 'DUG-04-622'),
(@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-04-622';
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(), '117x160cm', 'DUG 05 620', 'publish', 'closed', 'open', 'DUG-05-620', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-05-620', 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, 59, 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', '15'),
(@last_id, 'tcp_sku', 'DUG-05-620'),
(@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-05-620';
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(), '110x240cm', 'DUG 09 553', 'publish', 'closed', 'open', 'DUG-09-553', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-09-553', 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, 59, 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', '16'),
(@last_id, 'tcp_sku', 'DUG-09-553'),
(@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-09-553';
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(), '110x240x202cm Con divan abatible', 'DUG 10 553', 'publish', 'closed', 'open', 'DUG-10-553', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-10-553', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '919'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '17'),
(@last_id, 'tcp_sku', 'DUG-10-553'),
(@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-10-553';
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(), '121x175cm', 'DUG 11 B-623', 'publish', 'closed', 'open', 'DUG-11-B-623', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-11-B-623', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '659'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '18'),
(@last_id, 'tcp_sku', 'DUG-11-B-623'),
(@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-11-B-623';
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(), '121x175x213cm', 'DUG 12 623', 'publish', 'closed', 'open', 'DUG-12-623', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-12-623', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1059'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '19'),
(@last_id, 'tcp_sku', 'DUG-12-623'),
(@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-12-623';
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(), '118x166x213cm', 'DUG 2 625', 'publish', 'closed', 'open', 'DUG-2-625', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-2-625', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1019'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '20'),
(@last_id, 'tcp_sku', 'DUG-2-625'),
(@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-2-625';
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(), '114x167x213cm', 'DUG 3 621', 'publish', 'closed', 'open', 'DUG-3-621', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-3-621', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1157'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '21'),
(@last_id, 'tcp_sku', 'DUG-3-621'),
(@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-3-621';
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(), '137x165x201cm', 'DUG 4 622', 'publish', 'closed', 'open', 'DUG-4-622', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-4-622', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1019'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '22'),
(@last_id, 'tcp_sku', 'DUG-4-622'),
(@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-4-622';
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(), '117x165x207cm Con somier', 'DUG 5 620', 'publish', 'closed', 'open', 'DUG-5-620', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-5-620', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '769'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '23'),
(@last_id, 'tcp_sku', 'DUG-5-620'),
(@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-5-620';
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(), '117x165x207cm Con divan abatible', 'DUG 6 620', 'publish', 'closed', 'open', 'DUG-6-620', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-6-620', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '919'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '24'),
(@last_id, 'tcp_sku', 'DUG-6-620'),
(@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-6-620';
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(), '90x285x220cm Descatalogado', 'DUG 7 561', 'publish', 'closed', 'open', 'DUG-7-561', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-7-561', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1069'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '25'),
(@last_id, 'tcp_sku', 'DUG-7-561'),
(@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-7-561';
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(), '90x285x220cm Descatalogado', 'DUG 8 562', 'publish', 'closed', 'open', 'DUG-8-562', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-8-562', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1039'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '26'),
(@last_id, 'tcp_sku', 'DUG-8-562'),
(@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-8-562';
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(), '110x240x202cm', 'DUG 9 553', 'publish', 'closed', 'open', 'DUG-9-553', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=DUG-9-553', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '579'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '27'),
(@last_id, 'tcp_sku', 'DUG-9-553'),
(@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-9-553';
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(), '100x160cm', 'IMO 75-16', 'publish', 'closed', 'open', 'IMO-75-16', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-75-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, 59, 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', '28'),
(@last_id, 'tcp_sku', 'IMO-75-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` = 'IMO-75-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(), '120x160cm Cabecero', 'IMO-35-41', 'publish', 'closed', 'open', 'IMO-35-41', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IMO-35-41', 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, 59, 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', '29'),
(@last_id, 'tcp_sku', 'IMO-35-41'),
(@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-35-41';
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(), '103x160cm Simil piel', 'IXI 16012', 'publish', 'closed', 'open', 'IXI-16012', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16012', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '367'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '30'),
(@last_id, 'tcp_sku', 'IXI-16012'),
(@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` = 'IXI-16012';
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(), '103x160cm Simil pie', 'IXI 16013', 'publish', 'closed', 'open', 'IXI-16013', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16013', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '367'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '31'),
(@last_id, 'tcp_sku', 'IXI-16013'),
(@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` = 'IXI-16013';
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(), '125x160cm Simil piel', 'IXI 16014', 'publish', 'closed', 'open', 'IXI-16014', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16014', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '329'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '32'),
(@last_id, 'tcp_sku', 'IXI-16014'),
(@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` = 'IXI-16014';
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(), '125x160cm Simil piel', 'IXI 16015', 'publish', 'closed', 'open', 'IXI-16015', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-16015', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '329'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '33'),
(@last_id, 'tcp_sku', 'IXI-16015'),
(@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` = 'IXI-16015';
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(), '120x160cm Simil piel tambien en marron', 'IXI 7425000', 'publish', 'closed', 'open', 'IXI-7425000', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=IXI-7425000', 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, 59, 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', '34'),
(@last_id, 'tcp_sku', 'IXI-7425000'),
(@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` = 'IXI-7425000';
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(), '148x160cm', 'LH MU-514', 'publish', 'closed', 'open', 'LH-MU-514', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=LH-MU-514', 0, 'tcp_product', 0);
SET @last_id := LAST_INSERT_ID();
INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES
(@last_id, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '389'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '35'),
(@last_id, 'tcp_sku', 'LH-MU-514'),
(@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-514';
INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES
(1, now(), now(), '120x160cm', 'LH-MU-643', 'publish', 'closed', 'open', 'LH-MU-643', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=LH-MU-643', 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, 59, 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', '36'),
(@last_id, 'tcp_sku', 'LH-MU-643'),
(@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-643';
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(), '136x165cm', 'MOY 14500J-N', 'publish', 'closed', 'open', 'MOY-14500J-N', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-14500J-N', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '247'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '37'),
(@last_id, 'tcp_sku', 'MOY-14500J-N'),
(@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-14500J-N';
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(), '137x165cm', 'MOY 14618J', 'publish', 'closed', 'open', 'MOY-14618J', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-14618J', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '297'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '38'),
(@last_id, 'tcp_sku', 'MOY-14618J'),
(@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-14618J';
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(), '135x165cm', 'MOY 14659', 'publish', 'closed', 'open', 'MOY-14659', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-14659', 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, 59, 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', '39'),
(@last_id, 'tcp_sku', 'MOY-14659'),
(@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-14659';
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(), '136x115cm', 'MOY 148104', 'publish', 'closed', 'open', 'MOY-148104', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-148104', 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, 59, 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', '40'),
(@last_id, 'tcp_sku', 'MOY-148104'),
(@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-148104';
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(), '140x115cm', 'MOY 30857', 'publish', 'closed', 'open', 'MOY-30857', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30857', 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, 59, 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', '41'),
(@last_id, 'tcp_sku', 'MOY-30857'),
(@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-30857';
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(), '72x205x80cm', 'MOY 30858', 'publish', 'closed', 'open', 'MOY-30858', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30858', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1089'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '42'),
(@last_id, 'tcp_sku', 'MOY-30858'),
(@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-30858';
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(), '136x165cm', 'MOY 30957', 'publish', 'closed', 'open', 'MOY-30957', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30957', 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, 59, 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', '43'),
(@last_id, 'tcp_sku', 'MOY-30957'),
(@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-30957';
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(), '24x167x204cm', 'MOY 30960', 'publish', 'closed', 'open', 'MOY-30960', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30960', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '659'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '44'),
(@last_id, 'tcp_sku', 'MOY-30960'),
(@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-30960';
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(), '135x160cm', 'MOY 816084', 'publish', 'closed', 'open', 'MOY-816084', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-816084', 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, 59, 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', '45'),
(@last_id, 'tcp_sku', 'MOY-816084'),
(@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-816084';
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(), '98x165x225cm Cama', 'MOY-14219', 'publish', 'closed', 'open', 'MOY-14219', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-14219', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '997'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '46'),
(@last_id, 'tcp_sku', 'MOY-14219'),
(@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-14219';
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(), '136x165x3cm', 'MOY-14500', 'publish', 'closed', 'open', 'MOY-14500', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-14500', 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, 59, 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', '47'),
(@last_id, 'tcp_sku', 'MOY-14500'),
(@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-14500';
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(), '145x165x8cm', 'MOY-24382', 'publish', 'closed', 'open', 'MOY-24382', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-24382', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '329'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '48'),
(@last_id, 'tcp_sku', 'MOY-24382'),
(@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-24382';
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(), '135x165x4cm', 'MOY-302016', 'publish', 'closed', 'open', 'MOY-302016', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-302016', 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, 59, 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', '49'),
(@last_id, 'tcp_sku', 'MOY-302016'),
(@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-302016';
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(), '140x165x3cm', 'MOY-30563', 'publish', 'closed', 'open', 'MOY-30563', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30563', 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, 59, 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', '50'),
(@last_id, 'tcp_sku', 'MOY-30563'),
(@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-30563';
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(), '135x165x3cm', 'MOY-30904', 'publish', 'closed', 'open', 'MOY-30904', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-30904', 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, 59, 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', '51'),
(@last_id, 'tcp_sku', 'MOY-30904'),
(@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-30904';
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(), '150x160x8cm', 'MOY-84005', 'publish', 'closed', 'open', 'MOY-84005', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=MOY-84005', 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, 59, 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', '52'),
(@last_id, 'tcp_sku', 'MOY-84005'),
(@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-84005';
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(), '135x175x212cm Cama', 'OM 1106', 'publish', 'closed', 'open', 'OM-1106', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1106', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1239'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '53'),
(@last_id, 'tcp_sku', 'OM-1106'),
(@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` = 'OM-1106';
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(), '135x160cm Cabecero', 'OM 1107', 'publish', 'closed', 'open', 'OM-1107', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1107', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '557'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '54'),
(@last_id, 'tcp_sku', 'OM-1107'),
(@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` = 'OM-1107';
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(), '120x180x212cm Cama', 'OM 1116', 'publish', 'closed', 'open', 'OM-1116', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1116', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1099'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '55'),
(@last_id, 'tcp_sku', 'OM-1116'),
(@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` = 'OM-1116';
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(), '120x160cm Cabecero', 'OM 1117', 'publish', 'closed', 'open', 'OM-1117', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1117', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '429'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '56'),
(@last_id, 'tcp_sku', 'OM-1117'),
(@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` = 'OM-1117';
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(), '135x170x212cm Cama', 'OM 1123', 'publish', 'closed', 'open', 'OM-1123', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1123', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1218'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '57'),
(@last_id, 'tcp_sku', 'OM-1123'),
(@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` = 'OM-1123';
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(), '135x160cm Cabecero', 'OM 1124', 'publish', 'closed', 'open', 'OM-1124', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1124', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '545'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '58'),
(@last_id, 'tcp_sku', 'OM-1124'),
(@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` = 'OM-1124';
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(), '130x185x228cm Cama', 'OM 725', 'publish', 'closed', 'open', 'OM-725', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-725', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1155'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '59'),
(@last_id, 'tcp_sku', 'OM-725'),
(@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` = 'OM-725';
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(), '130x160x8cm Cabecero', 'OM 725A', 'publish', 'closed', 'open', 'OM-725A', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-725A', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '568'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '60'),
(@last_id, 'tcp_sku', 'OM-725A'),
(@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` = 'OM-725A';
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(), '130x185x228cm Cama', 'OM 750', 'publish', 'closed', 'open', 'OM-750', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-750', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1190'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '61'),
(@last_id, 'tcp_sku', 'OM-750'),
(@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` = 'OM-750';
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(), '130x160x8cm Cabecero', 'OM 750A', 'publish', 'closed', 'open', 'OM-750A', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-750A', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '568'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '62'),
(@last_id, 'tcp_sku', 'OM-750A'),
(@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` = 'OM-750A';
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(), '115x160x200cm Cama', 'OM 770', 'publish', 'closed', 'open', 'OM-770', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-770', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1125'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '63'),
(@last_id, 'tcp_sku', 'OM-770'),
(@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` = 'OM-770';
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(), '115x160x10cm Cabecero', 'OM 770A', 'publish', 'closed', 'open', 'OM-770A', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-770A', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '557'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '64'),
(@last_id, 'tcp_sku', 'OM-770A'),
(@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` = 'OM-770A';
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(), '135x175x212cm Cama', 'OM-1100', 'publish', 'closed', 'open', 'OM-1100', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1100', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1239'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '65'),
(@last_id, 'tcp_sku', 'OM-1100'),
(@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` = 'OM-1100';
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(), '135x160cm Tambien en 180 cabecero', 'OM-1101', 'publish', 'closed', 'open', 'OM-1101', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1101', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '557'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '66'),
(@last_id, 'tcp_sku', 'OM-1101'),
(@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` = 'OM-1101';
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(), '135x175x212cm Tambien para colchon de 180 cama', 'OM-1137', 'publish', 'closed', 'open', 'OM-1137', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-1137', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1117'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '67'),
(@last_id, 'tcp_sku', 'OM-1137'),
(@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` = 'OM-1137';
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(), '145x180x8cm Cabecero', 'OM-590', 'publish', 'closed', 'open', 'OM-590', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-590', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '457'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '68'),
(@last_id, 'tcp_sku', 'OM-590'),
(@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` = 'OM-590';
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(), '240x190cm Cama', 'OM-637', 'publish', 'closed', 'open', 'OM-637', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=OM-637', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '1119'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '69'),
(@last_id, 'tcp_sku', 'OM-637'),
(@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` = 'OM-637';
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(), '110x160cm', 'SP 30172', 'publish', 'closed', 'open', 'SP-30172', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-30172', 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, 59, 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', '70'),
(@last_id, 'tcp_sku', 'SP-30172'),
(@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-30172';
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(), '120x160cm', 'SP 31414', 'publish', 'closed', 'open', 'SP-31414', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31414', 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, 59, 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', '71'),
(@last_id, 'tcp_sku', 'SP-31414'),
(@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-31414';
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(), '145x160cm', 'SP 31453', 'publish', 'closed', 'open', 'SP-31453', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31453', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '297'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '72'),
(@last_id, 'tcp_sku', 'SP-31453'),
(@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-31453';
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(), '120x160cm', 'SP 31583', 'publish', 'closed', 'open', 'SP-31583', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31583', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '319'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '73'),
(@last_id, 'tcp_sku', 'SP-31583'),
(@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-31583';
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(), '180x200cm', 'SP 31755', 'publish', 'closed', 'open', 'SP-31755', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-31755', 0, 'tcp_product', 0);
SET @last_id := LAST_INSERT_ID();
INSERT INTO `wp_term_relationships` (`object_id`, `term_taxonomy_id`, `term_order`) VALUES
(@last_id, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '997'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '74'),
(@last_id, 'tcp_sku', 'SP-31755'),
(@last_id, 'tcp_tax_id', '0'),
(@last_id, 'tcp_back_end_label', ''),
(@last_id, 'tcp_hide_buy_button', ''),
(@last_id, 'tcp_exclude_range', ''),
(@last_id, 'tcp_is_downloadable', ''),
(@last_id, 'tcp_max_downloads', '0'),
(@last_id, 'tcp_days_to_expire', '0'),
(@last_id, 'tcp_is_visible', '1'),
(@last_id, 'tcp_weight', '0');
insert into wp_postmeta (post_id, meta_key, meta_value)
SELECT @last_id, '_thumbnail_id', wp_posts.id FROM `wp_posts` WHERE `post_type` = 'attachment' and `post_mime_type` = 'image/jpeg' and `post_title` = 'SP-31755';
INSERT INTO `wp_posts` (`post_author`, `post_date`, `post_date_gmt`, `post_content`, `post_title`, `post_status`, `comment_status`, `ping_status`, `post_name`, `post_modified`, `post_modified_gmt`, `post_parent`, `guid`, `menu_order`, `post_type`, `comment_count`) VALUES
(1, now(), now(), '', 'SP 9418', 'publish', 'closed', 'open', 'SP-9418', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=SP-9418', 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, 59, 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', '75'),
(@last_id, 'tcp_sku', 'SP-9418'),
(@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-9418';
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(), '105x168x8cm Cabecero', 'VA-3200', 'publish', 'closed', 'open', 'VA-3200', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-3200', 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, 59, 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', '76'),
(@last_id, 'tcp_sku', 'VA-3200'),
(@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-3200';
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(), '105x182x6cm Cabecero', 'VA-3209', 'publish', 'closed', 'open', 'VA-3209', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VA-3209', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '329'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '77'),
(@last_id, 'tcp_sku', 'VA-3209'),
(@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-3209';
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(), '111x180cm Para cama de 150', 'VIC 15553', 'publish', 'closed', 'open', 'VIC-15553', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-15553', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '317'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '78'),
(@last_id, 'tcp_sku', 'VIC-15553'),
(@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-15553';
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(), '140x160cm Tapizado algodon color natural', 'VIC 16329', 'publish', 'closed', 'open', 'VIC-16329', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-16329', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '427'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '79'),
(@last_id, 'tcp_sku', 'VIC-16329'),
(@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-16329';
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(), '120x160cm Tapizado color algodon natural', 'VIC 16330', 'publish', 'closed', 'open', 'VIC-16330', now(), now(), 0, 'http://localhost/originalhouse/?tcp_product&p=VIC-16330', 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, 59, 0);
insert into wp_postmeta (post_id, meta_key, meta_value) values
(@last_id, 'tcp_price', '357'),
(@last_id, 'tcp_stock', -1),
(@last_id, 'tcp_type', 'SIMPLE'),
(@last_id, 'tcp_order', '80'),
(@last_id, 'tcp_sku', 'VIC-16330'),
(@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-16330';